Embeddable Auth Library mature

Passport.js

Simple authentication middleware for Node.js

23.0K stars 100 contributors Since 2011
Website → GitHub

Simple authentication middleware for Node.js

License
MIT
Min RAM
16 MB
Min CPUs
1 core
Scaling
single_node
Complexity
beginner
Performance
medium
Self-hostable
K8s native
Offline
Pricing
fully free
Docs quality
good
Vendor lock-in
none

Use cases

  • Add authentication to Express/Node.js apps
  • Social login (Google/GitHub/Facebook)
  • OAuth integration for APIs

Anti-patterns / when NOT to use

  • Callback-based API feels dated
  • No session management built-in
  • Strategy quality varies

Replaces / alternatives to

  • Auth0
  • proprietary auth middleware

Technical specs

Language
JavaScript
API type
SDK
Protocols
HTTP
Deployment
npm

Community

GitHub stars 23.0K
Contributors 100
Commit frequency weekly
Plugin ecosystem massive
Backing Jared Hanson
Funding community

Release

Latest version
Last release
Since 2011

Best fit

Team size
solosmallmedium
Industries
general

Tags

  • authentication
  • middleware
  • nodejs
  • 500-strategies
  • social-login
  • oauth
  • saml
  • local