~/talk

Death to Cookies, Long Live JSON Web Tokens

Talkat CascadiaFest 2015 · 2015-07-08..07-10· [security, web-platform]
speakerdeck:mgonto
slides:none on file

Argument that JWTs replace cookie sessions to make APIs stateless, avoid CORS credential pain, and let identity flow between services by packing user info in a signed token. Demo implements login POST to /sessions/create, server issues a JWT with HMAC-SHA256 signature, client saves it to localStorage and sends it in the Authorization: Bearer header to call a secure Chuck-Norris API; logout removes the token and tampering yields “invalid signature,” so the demo works end-to-end.

AI-written summary · about

  1. 0:00Intro
  2. 1:10About Martin
  3. 1:48Morning person
  4. 2:25Tshirt time
  5. 2:54How the web works
  6. 5:13The problem with cookies
  7. 8:45Cookies dont flow
  8. 9:39JSON Web Tokens
  9. 12:10How does it work
  10. 14:27First Tshirt
  11. 15:30Sample Website
  12. 16:30Application
  13. 21:05Login
  14. 21:35Local Storage
  15. 22:23Decode
  16. 25:19Secure Routes
~/search
type to search 8,222 conferences, 162,397 speakers and 219,688 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
← →
on a talk: 5 seconds back / forward
0–9
on a talk: jump to 0%–90% of the recording
?
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.