Passport
Simple, unobtrusive authentication for Node.js.
About Passport
Passport is authentication middleware for Node.js. Extremely flexible and modular, Passport can be unobtrusively dropped in to any Connect/Express-based web application. A comprehensive set of strategies support authentication using a username and password, Facebook, Twitter, and more.
Features
- 40+ authentication strategies
- Single sign-on with OpenID and OAuth
- Easily handle success and failure
- Supports persistent sessions
- Dynamic scope and permissions
- Pick and choose required strategies
- Implement custom strategies
- Does not mount routes in application
- Lightweight code base
$ npm install passport