Do Consider Joining our patron page for special and on-demand lectures and solutions, to keep us moving and rolling out more content. A dollar a month will make my life easy, or 50 INR per month will make the video flow more easily.
Patron: https://www.patreon.com/codebook_inc
PhonePay: +91-6360535414@ybl
Paytm: +91-6360535414
In this video, we have created a reusable authentication API route guard for protected routes using a passport package. And also created a passport strategy to get authenticated user from the database via token using passport-jwt package
Github Repository: https://github.com/nandymandy1/complete-user-auth-tutorial.git
Follow Us
Facebook Username: mauryanarendra11
Twitter Handle: narendraDev95
Github Handle: nandymandy1
Intro: (0:00)
Setup Passport Middleware: (1:11)
Initialize Passport: (6:24)
Passport Guard: (7:36)
Passport Explained and Get Authenticated User: (11:53)
Download
0 formats
No download links available.
Node Express REST API | Full User Authentication System | Part 4 - Api Authentication Middleware | NatokHD