How does JWT work

preview_player
Показать описание
Рекомендации по теме
Комментарии
Автор

To those who find it tough, think of how you would hand over your bag to the security guard when you are about to enter a super market, and he returns a token to you. When you exit, you have to hand over the token to him, and he will let you access your 'resource'. The responsibility of not losing the token is with the customer (client). The security guard (server) will give access to the customer (client) only after the particular token is produced by it. The same works with JWT tokens.

If the customer gives the token to someone else, who then produces it to the security guard, the security guard will give access to the bag (resource) to the guy who produced the token. So, clients shouldn't share their JWT tokens with others
.

arunshankars
Автор

explained everything is such short time. Thanks brother

thewatcher
Автор

I spent months trying to figure wtf is jwt and this was the only video that hit the nail on its head

whatsinaname
Автор

very nice short and clear explanation. impressed

pratikdhande
Автор

what's up with the dislikes ? Video was crystal clear.

scottsmyth
Автор

Short, informative and nice to watch. We need more explanations like this on youtube! Thanks man.

MyApanas
Автор

The most helpful, useful and summarized explain i have ever seen !!

mahmoudhasan
Автор

Brief, useful, informative one. Thank you/

nghiaphanthanh
Автор

Is it true that jwt has an open time window for an attacker to use equal to the expiration time of the token if he manages to intercept the token ?

gabrielluca
Автор

Wasn't it best practice to send sensitive data like passwords through a POST request instead of a GET?

Robin-uuwx
Автор

Is the server here typically is the Identity Provider (like Azure Active Directory for example)?

Jinsh
Автор

How do you know if the client is sending not someone else's token? I am not talking about tampered token. I mean someone fully copies the token with its signature. In your case JWT is equivalent to simply sending some session token stored in a database.

TBadalov
Автор

thanks, it is a great tutorial about jwt.

erickramones
Автор

This is not how it works. This is how to use. For that purpose this was perfect, but I already knew that.

davidbiro
Автор

This is a really bad description of JWT.

imichael.
Автор

Overall summary : Clients can not be trusted.

kaustubhdwivedi
Автор

this description is very bad and incomplete

lukasglaser
Автор

This information can be found in google in 30 seconds. And it's 2 times faster than watching this video.

glacy