~/talk

OpenID Connect & OAuth 2.0 – Security Best Practices

Talkat NDC Oslo 2020 · 2020-06-08..06-12· [security]
slides:none on file

Overview of concrete fixes and attacks: RFCs and BCPs converge into OAuth 2.1 with implicit and password grants deprecated and PKCE mandatory for code flow; recommends asymmetric client auth (private_key_jwt), JWT hardening, refresh-token rotation or sender-constraining, and avoiding tokens in URLs. Walks through real incidents (an EA subdomain takeover example and referrer leakage to Facebook/GitHub), shows a BFF (Backend For Frontend) recommendation, and points to ASP.NET Core and browser features as practical mitigations.

AI-written summary · about

  1. 0:00Intro
  2. 1:05High Security OAuth
  3. 5:36Some Context...
  4. 11:51Relevant Documents
  5. 12:16The Big Picture
  6. 12:55Simplified
  7. 13:57Attack Model (3)
  8. 19:02Implicit Flow Request
  9. 19:29Implicit Flow Response
  10. 20:39No more Password Grant
  11. 21:42Original Flows
  12. 22:31Grand Unification
  13. 22:58Machine to Machine
  14. 25:32Client Authentication
  15. 27:42Bearer Tokens
  16. 29:30Interactive Applications
  17. 31:03Redirect URI Validation Attacks
  18. 35:26Credential Leakage via Referrer Heade
  19. 36:44Authorization Code Injection
  20. 38:07Mitigation: Proof key for Code Exchan
  21. 39:38Cross Site Request Forgery
  22. 41:15Countermeasures Summary
  23. 41:45MixUp Attack (Variant 1)
  24. 46:00Mix Up Countermeasures
  25. 47:47Public Clients
  26. 48:23Anti Pattern: Native Login Dialogs
  27. 49:20Using a browser with Code Flow + PKG
  28. 49:56Different Approaches
  29. 51:24Token Storage & Management
  30. 52:06Browser-based Applications aka SPA
  31. 54:47Same-Site Architecture
  32. 55:22Anti-Forgery Protection
  33. 56:19Access Token Storage in Browsers
  34. 58:25OAuth 2.1
~/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.