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 am a problem solver: a tech and people leader with a passion and proven track-record in building and leading empathetic, productive teams—remote and on-site—within a continuous learning culture, while championing usable, inclusive digital products and online experiences. I am also a father, advisor, life-long learner, advocate, community builder, and speaker—I am Human. Learn more