Nodejs

Logging things with pacekage Passport

Chapter directory

  • Local account logins and signup (using passport-local)
  • Facebook Logins and registration (using passport-facebook)
  • Twitter logins and registration (using passport-twitter)
  • Google+ logins and registration (using oauth with passport-google-oauth
  • Require login for certain routes/sections of your application
  • Creating a password hash for local accounts (using bycrpt-nodejs)
  • Display error messages (using flash with [connect-flash]. required since express 3.x)
  • Linking all social accounts under one user account
  • Allowing a user to unlink a specific social account

Here's what we'll be building:

And after a user has logged in with all their credentials