Passport node.js library


Passport is authentication middleware for Node. It is designed to serve a singular purpose: authenticate requests.
In modern web applications, single sign-on using an OAuth provider such as Facebook or Twitter has become a popular authentication method. Services that expose an API often require token-based credentials to protect access.
Passport recognizes that each application has unique authentication requirements. Authentication mechanisms, known as strategies, are packaged as individual modules. Applications can choose which strategies to employ, without creating unnecessary dependencies.

Comments

Popular posts from this blog

PHP Ajax Login Validation Tutorial

Real-Time Web Interface to MQTT using Socket.io and Node.js

New User Registration With Email Verification Using PHP and Mysqli