Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Authentication solutions for Node.js [closed]

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?

like image 888
WHITECOLOR Avatar asked Dec 03 '11 18:12

WHITECOLOR


People also ask

Which is the best for authentication in node JS?

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.

Should I use passport js for authentication?

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.


2 Answers

Passport supports more than 30 authentication strategies.

like image 169
AlexT Avatar answered Oct 20 '22 00:10

AlexT


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:

  • my blog
  • everyauth example file
  • my chat application
like image 40
Raynos Avatar answered Oct 19 '22 22:10

Raynos