~/talk

Demystifying JWTs

Talkat SFSCON 2024 · 2024-11-08..11-09· [security, web-platform]
links:none on file
slides:none on file

Explains what a JWT actually contains (header, payload, signature), how signatures are created and verified by hashing header+payload and comparing with an encrypted signature, and how public keys are fetched from a well-known endpoint or referenced in the header. Covers WebSocket authentication tradeoffs: query parameter is exposed, token as first message works but large tokens can break some servers so custom payload per message is an alternative. Notes the spec even allows alg=none (unsigned tokens) and that libraries handle most cases but manual validation is sometimes required.

AI-written summary · about

  1. 0:00Introduction to JWTs
  2. 1:03Session vs token authentication
  3. 2:31JWTs in WebSocket protocols
  4. 4:44JWT anatomy explained
  5. 6:51How JWT signatures work
  6. 8:17Validating JWTs manually
  7. 10:43Summary and Q&A
~/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.