User Authentication in Web Apps with Passport.js
Learn to implement user authentication in web apps using Passport.js, Node, and Express. A beginner-friendly full course. 🔐

freeCodeCamp.org
448.0K views • Mar 16, 2021

About this video
In this full course for beginners, you will learn how to implement user authentication from scratch in your web apps. You will learn how to use Passport.js in a Node / Express app.
💻 Starter Code
🔗 https://github.com/zachgoll/express-session-authentication-starter
🔗 https://github.com/zachgoll/express-jwt-authentication-starter
✏️ Course created by Zach Gollwitzer. Check out his channel: https://www.youtube.com/zachgollwitzer
❤️ Try interactive JavaScript courses we love, right in your browser: https://scrimba.com/freeCodeCamp-JavaScript (Made possible by a grant from our friends at Scrimba)
⭐️ Course Contents ⭐️
⌨️ (0:00:00) Introduction
⌨️ (0:04:04) Topics and Prerequisites
⌨️ (0:16:43) Intro to HTTP Headers and Cookies
⌨️ (0:34:23) Intro to Express Middleware
⌨️ (1:05:04) Intro to Express Sessions
⌨️ (1:31:10) Implementation of Passport Local Strategy
⌨️ (2:50:21) Intro to Public Key Cryptography
⌨️ (3:34:31) How do JWTs work?
⌨️ (4:16:58) Implementation of Passport JWT Strategy
⌨️ (5:17:29) Implementing a Custom JWT Auth Solution
⌨️ (5:46:20) JWT Strategy in Angular Front-End App
--
Learn to code for free and get a developer job: https://www.freecodecamp.org
Read hundreds of articles on programming: https://freecodecamp.org/news
💻 Starter Code
🔗 https://github.com/zachgoll/express-session-authentication-starter
🔗 https://github.com/zachgoll/express-jwt-authentication-starter
✏️ Course created by Zach Gollwitzer. Check out his channel: https://www.youtube.com/zachgollwitzer
❤️ Try interactive JavaScript courses we love, right in your browser: https://scrimba.com/freeCodeCamp-JavaScript (Made possible by a grant from our friends at Scrimba)
⭐️ Course Contents ⭐️
⌨️ (0:00:00) Introduction
⌨️ (0:04:04) Topics and Prerequisites
⌨️ (0:16:43) Intro to HTTP Headers and Cookies
⌨️ (0:34:23) Intro to Express Middleware
⌨️ (1:05:04) Intro to Express Sessions
⌨️ (1:31:10) Implementation of Passport Local Strategy
⌨️ (2:50:21) Intro to Public Key Cryptography
⌨️ (3:34:31) How do JWTs work?
⌨️ (4:16:58) Implementation of Passport JWT Strategy
⌨️ (5:17:29) Implementing a Custom JWT Auth Solution
⌨️ (5:46:20) JWT Strategy in Angular Front-End App
--
Learn to code for free and get a developer job: https://www.freecodecamp.org
Read hundreds of articles on programming: https://freecodecamp.org/news
Video Information
Views
448.0K
Likes
11.4K
Duration
06:13:29
Published
Mar 16, 2021
User Reviews
4.8
(89) Related Trending Topics
LIVE TRENDSRelated trending topics. Click any trend to explore more videos.