Passport
Simple, unobtrusive authentication for Node.js. observed · 2026-08-28
Health v2 · maintenance only
32/100
- Activity 0
- Release rhythm 35
- Longevity 100
Flags: no_releases
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-03. Adoption (stars, forks) is never an input.
- gap_med: n/a
- age_days: 5443
- days_rel: n/a
- days_push: 747
- n_releases_24m: 0
Adoption not part of the score
23534 stars · 1257 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-29, confidence not recorded
Passport is authentication middleware for Node.js and Express that authenticates requests through a modular system of 500+ strategy plugins (local username/password, OAuth, SAML, OpenID Connect, and more). It does not mount routes or assume a database schema, leaving application-level decisions to the developer.
Use cases
- add username and password login to an Express app
- implement sign-in with Google, Facebook, or GitHub
- add OAuth2 or OpenID Connect single sign-on to a Node.js app
- support SAML enterprise single sign-on
- persist authenticated sessions in a Node.js web app
- write a custom authentication strategy for Node.js
When to choose
- you are building a Node.js or Express web app and need flexible, pluggable authentication
- you want to support many login providers via a single middleware API
- you need fine-grained control over routes, sessions, and success/failure handling
When to avoid
- you want a fully managed, batteries-included identity solution with hosted login pages
- you are not using Node.js
- you need authorization/permissions management rather than request authentication
Facets
library · maturity stable
auth middleware web-framework web-development backend security express oauth oauth2 saml openid-connect authentication-strategies session-management single-sign-on authentication nodejs web-server
7 sources
- readme: https://github.com/jaredhanson/passport · fetched 2026-08-28 · c3900ee57c65
- homepage: https://www.passportjs.org?utm_source=github&utm_medium=referral&utm_campaign=passport&utm_content=about · fetched 2026-08-29 · 3ed1ca7d5bbf
- site_page: https://www.passportjs.org/docs · fetched 2026-08-29 · 14ad19cd2405
- site_page: https://www.passportjs.org/features · fetched 2026-08-29 · a157014b0395
- registry_npm: https://registry.npmjs.org/passport-facebook · fetched 2026-08-29 · e2029c697e9c
- registry_npm: https://registry.npmjs.org/passport · fetched 2026-08-29 · 314a67856205
- registry_npm: https://registry.npmjs.org/passport-local · fetched 2026-08-29 · 739791bf7301
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| jaredhanson/passport | main | 32 |
| jaredhanson/passport-local | plugin | 32 |
| jaredhanson/passport-facebook | plugin | 32 |
For agents
markdown · JSON · MCP: product_card(name="jaredhanson/passport")
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem