Passport is a very well implemented module. Everyauth and passport are the main projects on github. Here is a wonderful stream on stackoverflow about both of them . Easy to repeat - asynchronously using the Promises pattern. I also like the modularity offered by the passport. Saved my code tone and made your code good.
I used a passport for facebook auth and implemented my own authentication using a local passport . My backend is Mongodb, and the mongoose really helped me.
I like to express better than to repeat. It is extremely well documented and has strong community support.
source share