Creating a Login Page | Node Auth Tutorial - Part 7

Released on July 2nd 2017
Length: 18:01

We have a way to log our users in, but it consists of forcing them to register for a new account. Rather than creating a new account each time we want a user to login, it would make more sense to create a login form so the user can compare their username and password to account data already present within the database. Learn how to do just that with Passport.js. Video Timeline: --------------- 00:28 - Creating the form inputs 01:26 - Processing the login form's POST requests 01:51 - Integrating Passport.js into the login form 03:42 - Using Passport.js' LocalStrategy auth method 10:25 - Using bcrypt to test a user's password 13:30 - Finishing up LocalStrategy implementation The Platform: ------------- http://chriscourses.com is a platform in progress whose goal is to educate aspiring and seasoned web developers via story driven learning. Each course tells a different story, and each milestone reveals a different scene. With an expansive universe to explore, you can track your progress, and gain the necessary skills needed to build your dreams. For updates on the progress of chriscourses.com and future videos, join the Chris Courses mailing list at http://chriscourses.com. Support Chris Courses Through Patreon: -------------------------------------- https://www.patreon.com/chriscourses Chris Courses Social: --------------------- Twitter: https://twitter.com/chriscourses Facebook: https://www.facebook.com/chriscourses Instagram: https://www.instagram.com/chriscourses/ Christopher Lis Social: ----------------------- Twitter: https://twitter.com/christopher4lis CodePen: http://codepen.io/christopher4lis