Passport
Simple, unobtrusive authentication for Node.js. observed · 2026-10-18
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-10-21. Adoption (stars, forks) is never an input.
- gap_med: n/a
- age_days: 5491
- days_rel: n/a
- days_push: 795
- n_releases_24m: 0
Adoption not part of the score
23521 stars · 1247 forks observed · 2026-10-18
What it is AI-extracted, prompt v1, taxonomy v1, 2026-10-12, confidence 0.99
Passport is a lightweight authentication middleware for Node.js that works with Express. It provides a simple, extensible API and a large collection of strategies for handling many authentication methods.
Use cases
- Add username/password login to an Express application
- Integrate social login such as Facebook, Google, or Twitter
- Implement OpenID Connect or OAuth2 authentication flows
- Support SAML single sign‑on for enterprise users
- Handle persistent sessions and custom authentication callbacks
- Create custom authentication strategies for proprietary identity providers
When to choose
- You need a flexible, modular authentication solution for a Node.js/Express app
- You want to support many different login providers without writing each from scratch
- You prefer to keep routing and session handling under your own control
When to avoid
- You require a full‑stack authentication UI or hosted login page out of the box
- Your project is not based on Node.js/Express
- You need a solution that includes built‑in user management and database integration
Facets
library · maturity active
auth authorization web-development security passportjs authentication-middleware oauth openid sso strategies nodejs web-server
7 sources
- readme: https://github.com/jaredhanson/passport · fetched 2026-10-18 · c3900ee57c65
- homepage: https://www.passportjs.org?utm_source=github&utm_medium=referral&utm_campaign=passport&utm_content=about · fetched 2026-09-28 · 3ed1ca7d5bbf
- site_page: https://www.passportjs.org/features · fetched 2026-09-28 · a157014b0395
- site_page: https://www.passportjs.org/docs · fetched 2026-09-28 · 14ad19cd2405
- registry_npm: https://registry.npmjs.org/passport · fetched 2026-09-28 · 314a67856205
- registry_npm: https://registry.npmjs.org/passport-local · fetched 2026-09-28 · 739791bf7301
- registry_npm: https://registry.npmjs.org/passport-facebook · fetched 2026-09-28 · e2029c697e9c
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-10-19T08:05:51.212177+00:00 · Report a problem