Class Central is learner-supported. When you buy through links on our site, we may earn an affiliate commission.

YouTube

Stateless with JWT - JSON Web Token

Devoxx via YouTube

Overview

Explore the advantages of JSON Web Tokens (JWTs) in modern REST architectures through this comprehensive conference talk. Discover how JWTs offer a simpler, fully stateless, and easily scalable approach to session management, eliminating the need for server-side session storage and cluster replication. Learn about the inner workings of JWTs, proper client session handling between browser and server, and additional use cases. Examine the pros and cons of this technology while gaining insights into implementing JWTs in various scenarios, including API gateways and multipart forms. Delve into security considerations such as symmetric signatures, cross-site scripting attacks, and CSRF protection. Gain valuable knowledge on token management, including rotation of private keys, token identifiers, and expiration times.

Syllabus

Intro
My first computer
Small Elk
Code
HTTP Cookies
Recap
Session IDs
Problems with Session IDs
What did we do
The problem
RFC 77519
JWT vs Session ID
Token by Reference
What does it look like
Example
symmetric signature
both
OpenID
Blacklist
Crosssite scripting attacks
CSRF attack
How does it work
How to use it
Multipart forms
API Gateway
Conclusion
Limitations
Rotating private keys
Token identifier
Expiration time

Taught by

Devoxx

Reviews

Start your review of Stateless with JWT - JSON Web Token

Never Stop Learning.

Get personalized course recommendations, track subjects and courses with reminders, and more.

Someone learning on their laptop while sitting on the floor.