Learn JWT in 10 Minutes with Express, Node, and Cookie Parser

preview_player
Показать описание
I give a quick overview of how to sign/verify JWT tokens and place them inside a cookie to do authentication on your secured express API routes.

Btw, you'd want to learn more about using refresh tokens so that a user can refresh their short-lived JWT tokens. I may make a part 2 for this video to talk about that topic.

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

Рекомендации по теме
Комментарии
Автор

If there is anything you were disappointed I didn’t talk about in this video, let me know and I’ll make another video to cover it. Maybe refresh tokens is something I could have covered.

WebDevCody
Автор

Amazing! I spent 2 hours trying to understand this simple thing from other videos. Thank you !

duygukocar
Автор

You are a legend! After combing through videos with people never quite explaining how to generate/store JWT tokens (securely), this was the video that put it all together. Thanks! My login portal will be built in your honor😆

gavinv.
Автор

I'm a PHP developer and this topic was one of the most confusing parts for me and I was looking for a simple explanation to understand this concept and you did very well, thank you very much.

MMHMMH
Автор

hey man long term viewer here! i just wanna say even your old videos really help me out i was trying to get my jwt to work for the last 3 days and i finally got it thanks to you and another youtube ben awad! just wanted to say thank you!

WewCode
Автор

You saved my brain from burning out! Thank you for explaining what JWT does!

knightOfGamingGames
Автор

I really like your videos, the manner you present the content always catchs my attention. Great work!
Could you do a full youtubes series about Authentication/Authorization?

SlainR
Автор

This is an amazing example and explanation. Thank you.

planetmall
Автор

Dude you are AWESOME! You are helping me to achieve so much! I love your work mate!

rotivanov
Автор

That was awesome, quick and to the point! Thanks!

KashanPardesi
Автор

Wondeful! The content was clear and very informative. It helped me figure things out. Thank you a lot!

pedromora
Автор

simple explanation for such an confusing topic, Thank you

meghanathshetty
Автор

Lol I was literally 30 seconds and I had to stop and subscribe to this guy. I already know he's going to be excellent at explaining

fullstackmarketing
Автор

Thank you so much. Your video saved my application

israelruas
Автор

Thanks broo! This is exactly what I was looking for <3

rodrigocasarinperea
Автор

Nice job. May be you can add another section to use an actual oauth issuer like okta

sede
Автор

Nice explanation! Earned yourself a sub with this banger

AliAliOxenFree
Автор

Well made video. Got it down instantly!

mgnfy-view
Автор

Sir setting req.user = user not working in typescript ? const user = how it extract user from jwt automatically?

shahidabbas
Автор

With your doing, I wonder if two different account logins are on the same device. How did the server return and manage their cookie & token? Can you explain this situation, many thanks

hoanglongluong
visit shbcf.ru