JWT, WTF?
summary
Explains JSON Web Token format: header.payload.signature with base64url encoding and a signature generated using HS256 HMAC. Shows how to build and verify a token in Node (crypto HMAC, secure compare), demos the jwt.io debugger, and details real uses: stateless sessions (can't revoke without state so use revocation via jti blacklist), microservices with RS256 public/private keys, and Twilio Chat grants as a concrete working example.
AI-written summary · about
chapters (11)
- 0:00Introduction and speaker intro
- 3:44What is a JWT
- 8:00Use cases for JWTs
- 11:11Creating a JWT
- 17:34Verifying a JWT
- 20:33Pitfalls of JWTs
- 23:05Stateless sessions with JWTs
- 25:10JWTs in microservices
- 26:40Client-side JWTs
- 29:30Resources and summary
- 30:14Q&A session








