Рет қаралды 4,414
JWT (JSON Web Tokens) explained in under 10 minutes! Authentication, authorization, refresh tokens, statelessness, and more.
Four years ago, I published my first-ever article on Medium, titled "JSON Web Tokens - The only explanation you'll ever need". Tens of thousands of developers have read it, so I decided to make a video version. Enjoy!
🔗 Socials:
X - x.com/arielweinberger
LinkedIn - / arielweinberger
Timestamps:
00:00 Intro
00:21 Authentication VS Authorization
01:34 The Structure of a JWT
02:42 Signature
04:05 JWTs Are Encoded, NOT Encrypted!
04:45 JWTs Are Stateless
05:49 Short Lived Tokens
07:32 Refresh Token Rotation
08:13 Recap
📚 Resources
1. Medium.com - JSON Web Tokens (JWT) - the only explanation you will ever need by Ariel Weinberger
/ json-web-token-jwt-the...
2. jwt.io