Blog:Authentication with MongoDB, Node.js + Passport.js
You can have a pretty solid, reliable user authentication system that leverages various 3rd-party OAuth services, like GitHub, Twitter and Facebook, in a matter of hours or days (depending on how complex you want, or need, to get upfront).
I've already set up an authentication service with this tech stack on my site as a proof-of-concept for a project we're exploring at work. While the demo currently doesn't do much after logging on other than the ability to authenticate with multiple OAuth 2.0-based services, the foundation is in-place to get more creative over time.
If you're already using
Node.js and need to create some custom authentication system for your next project, wrap it up with
Passport.js—I think you'll like it!
Until next time,
I operate from a place of compassion, possibility and imagination. My work and efforts share a common goal: create a better, sustainable and equitable world by building inclusive communities, products & experiences.