Package
cognito-passport-oauth2
A passport strategy to authenticate against an AWS Cognito User Pool OAuth 2.0 provider and get user profile, access token and ID token. This supports providing cognito specific additional auth parameters. This is subclass of passport-oauth2 strategy.
Key numbers
As of 25 Sept 2026
- Weekly downloads
- 45.6k
- -31% over 12 months
- Gzip bundle size
- -
- No Bundlephobia data
- Dependencies
- 2
- Direct, from package.json
- Last release
- 1 year ago
- v1.3.1
- GitHub stars
- 2
- 1 forks
- Open issues / PRs
- 1 / 3
- Contributors
- -
- Commits, last 52 weeks
- 0
Downloads
Last week 2026-09-15 to 2026-09-21
45,608 downloads last week, 151,087 in the last month. The 12-month change of -31% compares the average of the last 4 weeks with the first 4 weeks of the series.
- Releases, last 12 months
- -
- Latest version
- 1.3.1, 23 Jan 20251 year ago
- First published
- -
- Last push to GitHub
- 20 Jan 2026247 days before the snapshot
- Repository archived
- No
- Open issues
- 1
- Open pull requests
- 3
- Commits, last 52 weeks
- 0
- Dependents on npm
- 0
Major versions
-
Recent releases
-
- Module format
- CommonJSFrom package.json type, main and exports fields
- TypeScript types
- Bundled
- Node.js engine range
- Not declared
- Runtimes
- -
- Unpacked size (npm)
- 13 kB
- Dependencies (2)
passport-oauth2@aws-sdk/client-cognito-identity-provider
npm install cognito-passport-oauth2- jsDelivr
https://cdn.jsdelivr.net/npm/cognito-passport-oauth2@1.3.1/ - unpkg
https://unpkg.com/cognito-passport-oauth2@1.3.1/ - esm.sh
https://esm.sh/cognito-passport-oauth2@1.3.1
Indexability: Indexed.