Portable Sessions with JSON Web Tokens
summary
Shows JWTs replacing cookies and opaque API tokens by sending one token, two headers so a single signed payload carries the user id, expiry and metadata and the server verifies a signature instead of querying the DB on every request. Demonstrates RSA public keys and JSON Web Keys to avoid secret sharing, uses a scope claim plus an optimistic lock for password‑reset and email login, recommends short lived access tokens with refresh tokens, key ids and epoched rotation, and a blacklist for immediate revocation.
AI-written summary · about
chapters (13)
- 0:00Intro
- 0:40Meet Lance
- 4:59Logging in
- 8:59JSON Web Tokens
- 12:45Recap
- 15:12Problem 2 Facepage
- 15:49Problem 3 Cookies
- 16:42Problem 4 Secrets
- 19:05Problem 5 Password Resets
- 19:38Building a Password Reset JSON Web Token
- 22:40Problem Number 7
- 24:28Conclusion
- 25:20Questions
related talks
04mJSON Web Tokens
38mAuthentication as a Microservice: Portable Customer Identity Management
34mStateless Auth w/ JSON Web Tokens
45mJWT - To authentication & beyond!
34mAuthenticating your single page apps using JSON Web Tokens
40mKnock knock, who's there? Authenticating your single page apps using JSON Web Tokens
37mKnock knock, who's there? Authenticating your single page apps using JSON Web Tokens
29mKnock knock, who's there? Authenticating your single page apps using JSON Web Token
