~/talk

How JSON Web Tokens Work and Can be Used to Secure Your Single Page Apps

Talkat apidays Helsinki 2019 · 2019-06-04..06-05· [security, web-platform]
slides:none on file

Explains how JWTs pack claims, expiry and audience into a base64 JSON trio and how a signature prevents tampering, showing header.payload.signature structure, common claims (iss, sub, aud, exp) and symmetric vs asymmetric signing with JWKS discovery. Recommends OAuth2 + OpenID Connect flows, warns that implicit flow is deprecated and that single‑page apps should prefer authorization code + PKCE while avoiding refresh tokens unless rotating/ sender‑constrained and don't store sensitive data in tokens.

AI-written summary · about

  1. 0:00Intro
  2. 1:00Traditional Authentication
  3. 4:00Initial Authentication
  4. 8:00JSON Web Tokens
  5. 12:20Examples
  6. 14:40Comparison
  7. 18:40Tokenbased Authentication
~/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.