~/talk

JWTs Explained

Talkat DevOpsDays Austin 2025 · 2025-05-01..05-02· [security]
slides:none on file

Explains JWT internals: header.payload.signature with HMAC SHA-256 or RSA signing, Base64URL encoding, and use of claims (use opaque UUIDs not PII). Shows the Fusion online JWT decoder and demonstrates payload size and performance tradeoffs. Recommends short-lived access tokens (minutes/hours) with long-lived refresh tokens (months/years) and validates every token, including JTI replay prevention. Describes solving Kubernetes sticky-session scaling by switching to stateless JWTs and storing tokens in HTTP-only cookies rather than localStorage.

AI-written summary · about

  1. 0:00Introduction to JWTs
  2. 1:07What are JWTs and why use them
  3. 6:04JWT structure and components
  4. 9:21Understanding JWT claims
  5. 11:12Demo: Decoding a JWT
  6. 15:26How JWTs are created and used
  7. 17:12Best practices for JWTs
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.