Link to ooth, a user accounts library built on top of passport.js #621
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Passport.js is a great solution for authentication for node.js. A concern that passport.js delegates to its users is what to do with the received credentials (e.g. emails, usernames, passwords). Usually people solve this by copying some snippets of code online. But this isn't a trivial issue. Apart from the inefficiency of people reimplementing the same thing and from security risks such as storing passwords in plain text, there are many tricky user account flow details that people usually don't think about such as logging in with different strategies (what if I log in with facebook with an email that I already used to log in with a local strategy?). These are the things solved by ooth. Ooth, just like passport.js, is modular and builds on top of passport.js strategies. With 144 commits since February it moved out of alpha today to 1.0. In this pull request I link Ooth as a linked library. I believe it will solve many people a headache.