Passport JWT Strategy Configuration (Node + Passport + Express)

preview_player
Показать описание
For resources and other information about this video, check out the corresponding post link below at Full Stack Foundations:

-------------------------------------------------------------------------------------

Connect with me:

-------------------------------------------------------------------------------------

Timestamps:

0:00 Intro
1:12 Passport JS documentation
5:34 The passport-jwt options object (with jsonwebtoken options)
7:15 JWT extractor function
11:21 The passport-jwt verify callback function configuration
18:40 Implementing the register route
22:07 The issueJWT() function
28:28 Implementing the login route
Рекомендации по теме
Комментарии
Автор

2 Years down the line and it's still a valuable tutorial; thank you for the good content, I found it very helpful

emmanuelaudu
Автор

Man, this is the BEST tutorial explaining Jwts with passport!

william
Автор

THANK YOU!
Unlike the official documentation of jwt-passport and passport (which fails miserably to explain the basics), This is the best and the only JWT with passport that explains the basic concepts in a clear and in an understandable way.
Cheers man!

firasbenmefteh
Автор

Hey Zack, Thanks so much for your dedication and methodical approach, it`s muchly appreciated. I have lost count of how many times i have replayed this so i GET IT!.
Cheers!

marksheard
Автор

You deserve waay more subs man. Awesome job! Keep it up. Subscribed!

diegocamy
Автор

this video has cleared so many confusions about how passport work. Thanks a lot Zach Gollwitzer

vishwaspaikra
Автор

explains the stuff to a great depth..thanx for the make more tutorials on other topics too. Really appreciate your methodology of teaching

sujayjami
Автор

Very great tutorial. Love the way you break down the small stuff throughout the series as well.

kuraz
Автор

after 3 years, still the best tutorial on how to do that

Jose-qmfs
Автор

wow this is such a great video. thank you so much for all your efforts. i am hugely benefiting from it.

qiwenxiao
Автор

Great series, great content. Thank you Zach.
Best wishes for you.

sumanahmed
Автор

thanks you so much. went through lot of tutorials and couldnt get my authentication working. now it works fine.

theinfosecguy
Автор

So extremely grateful for this tutorial series! 🙏🏻

dawid_dahl
Автор

22:54 Isn't it supposed to have a very short lifespan, with it constantly being refreshed?

DVineMe
Автор

Really love this tutorial and the way you're teaching. Auto sub! 👍

janssenbailio
Автор

Amazing series, thank you!
A dedicated video touching on the different algorithms (like rs256) would be awesome!

JassarDev
Автор

Hi, great course. much appreciated! Your approach is lighthouse to me.

JoonhwanLee
Автор

your explanations are so good, man. nice job

electrotsmishar
Автор

Really well explained and structured tutorial. Keep it up!

geety
Автор

Thank you so much for this series. really helpful.!!!!

mazhar