4 ms·
This post reminded me to look for open source code to handle multi-logins, I'm currently in the planning stage of a project. These seem quite comprehensive. Is
by stephth 15y ago
This post reminded me to look for open source code to handle multi-logins, I'm currently in the planning stage of a project. These seem quite comprehensive. Is there any reason why I would be better off rolling my own code?
http://www.omniauth.org http://www.omniauth.org (Ruby/Rack)
https://github.com/bnoguchi/everyauth https://github.com/bnoguchi/everyauth (node.js)
https://github.com/ciaranj/connect-auth https://github.com/ciaranj/connect-auth (node.js)
- radagaisus 15y agoIf you actually need to use the user's Facebook information I suggest you use Koala and the JS login flow, otherwise omniauth is a good solution. On the node.js side - just look at everyauth and connect-auth examples - they didn't even work on my computer! there's another lesser known library called passport.js that does the job very well: http://passportjs.org/ http://passportjs.org/