Skip to content
0:00 / 0:00

#passport.js#express#jwt

User Authentication in Web Apps (Passport.js, Node, Express)

freeCodeCamp.org

12M subscribers • 41 videos on Hallway

YouTube

Beginner. No background in the topic needed.

453K views5 years ago3 recommendations

Web developmentSecurityNode.js, Deno and BunWeb and application security

Zach Gollwitzer teaches how to implement user authentication from scratch using Passport.js, sessions, and JWTs in Express.

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 🔗 github.com/zachgoll/express-session-authentication-starter 🔗 github.com/zachgoll/express-jwt-authentication-starter ✏️ Course created by Zach Gollwitzer. Check out his channel: youtube.com/zachgollwitzer ❤️ Try interactive JavaScript courses we love, right in your browser: scrimba.com/freeCodeCamp-JavaScript (Made possible by a grant from our friends at Scrimba) ⭐️ Course Contents ⭐️ ⌨️ () Introduction ⌨️ () Topics and Prerequisites ⌨️ () Intro to HTTP Headers and Cookies ⌨️ () Intro to Express Middleware ⌨️ () Intro to Express Sessions ⌨️ () Implementation of Passport Local Strategy ⌨️ () Intro to Public Key Cryptography ⌨️ () How do JWTs work? ⌨️ () Implementation of Passport JWT Strategy ⌨️ () Implementing a Custom JWT Auth Solution ⌨️ () JWT Strategy in Angular Front-End App -- Learn to code for free and get a developer job: freecodecamp.org Read hundreds of articles on programming: freecodecamp.org/news

Why it's here

3 people recommend this

What people say. Recommended as a comprehensive tutorial for beginners learning authentication in Node.js and Express.

u/aftocrin r/node • Recommends

On “Authentication is nodeJs/expressJs”

Check this from freecodecamp. I haven't seen this particular one yet. But I can vouch for them.

u/KleppySpaghettiin r/node • Recommends

On “Hey guys, node newbie here. Just wondering if anyone had time to answer some questions. about authenticating JWT's in my node app, the tokens are generated through memberstack i just need to know how to grab them and verify them through some middleware, any and all help is appreciated”

link to this video Pretty cool video, helped me understand a lot about JWT

u/abc123_jackin r/node • Recommends

On “Where to find, Node react rn auth tutorial”

Check out this tutorial: link to this video The instructor talks about authentication using passport.js,node and express.js.He also talks about JWT(JSON Web Tokens)