Bummer! This is just a preview. You need to be signed in with a Pro account to view the entire video.
What is Passport?1:26 with Andrew Chalkley
Passport is authentication middleware for Node.js. It's flexible and modular and allows users of your Express sites to log in with Github, Facebook and Twitter credentials.
Hello there, Andrew here,
Here I am on the developing question website stack overflow.
Like myself, I'm sure you've found yourself researching the countless issues
you face on any given project on this website.
Users can log in and register with the site directly or
use their social media accounts like Google+ and Facebook.
How to sites like Stack Overflow, like you sign up or
login using credentials from another website.
If you have an Express application and
you want to add the ability to allow users to register and sign in with their
credentials from another website, you can use the MPM module Passport.
Passport is a middleware for your express applications and removes the complexity
of implements in logins using what Passport calls strategies.
Strategies are like middleware for passport and can be used for
any number of authentication providers such as Facebook, Google,
Twitter, GitHub, Instagram, Dropbox and any other OAuth provider.
OAuth is the underlying protocol or
agreement that makes using Passport possible.
We'll talk about that next.
You need to sign up for Treehouse in order to download course files.Sign up