Are there any robust authentication libraries for node.js as for rails (devise, sorcery), that could allow to do external authentication (facebook connect, twitter...) as well?
Node developers typically choose Passport. js. Authentication strategies differ based on a use case, from basic username/password to federated OAuth/OpenID and more common token or session-based. Recently, there's also been a surge in popularity of SSO (Single sign-on) schemes.
Passport is a popular, modular authentication middleware for Node. js applications. With it, authentication can be easily integrated into any Node- and Express-based app. The Passport library provides more than 500 authentication mechanisms, including OAuth, JWT, and simple username and password based authentication.
Passport supports more than 30 authentication strategies.
everyauth allows you to set up authentication with a wide range of services.
It basically gives you an API to map facebook or twitter or google authentication objects to your user models and back again.
Some examples of it being used:
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With