~/talk

Adding business logic to your tokens. What could possibly go wrong

Talkat NDC Oslo 2019 · 2019-06-17..06-21· [security, web-platform]
slides:none on file

Identity tokens and access tokens carry real claims not marketing words: this system has dozens of business claims stuffed into JWTs, creates a hard coupling between identity server and API, and builds tokens up to four times per request so cookies get chunked into many headers. That triggers Kong header limit errors and huge encrypted cookies. Some clients read long-lived (14 day) access tokens causing stale or persistent access; only two of forty apps actually used the claims. Use userinfo or an API endpoint instead.

AI-written summary · about

  1. 0:00Introduction
  2. 0:40About Linda
  3. 3:15Lost Puppy Project
  4. 5:37Key Tips
  5. 8:12Basic Access Token
  6. 9:08What happened when I took over
  7. 9:43Picking a token
  8. 10:06Reading the RFC
  9. 11:00Token Scopes
  10. 12:45Creating an Identity Server
  11. 13:08Testing API
  12. 14:48What could possibly go wrong
  13. 15:28Application ID
  14. 16:42API
  15. 18:57Security Token Validator
  16. 19:58Cookies
  17. 20:24Max cookie size
  18. 21:16Cookie Chunky Manager
  19. 22:25Kong has limits
  20. 23:11Kong has a big head
  21. 23:31We cant get rid of them
  22. 24:13Kong error fix
  23. 24:59Removing the token
  24. 26:35Why was this a problem
  25. 28:30Two minds
  26. 29:03Undocumented endpoints
  27. 32:30Time
  28. 34:05Story
  29. 37:33Why do we have 14day access tokens
  30. 42:35Recap
  31. 43:58Love your puppy project
  32. 44:44Lunch
~/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.