~/talk

OpenID Connect & OAuth 2.0 – Security Best Practices

Talkat NDC London 2020 · 2020-01-27..01-31· [security, web-platform]
slides:none on file

Overview of concrete security changes and fixes for OAuth 2.0 / OpenID Connect: recommends deprecate implicit and resource owner password grants, keep only client credentials for machine clients and authorization code for interactive clients, and always use PKCE and exact redirect URI matching; warns about real attacks seen — referer leakage, subdomain takeover, authorization code injection, mix‑up attacks — and prescribes fixes: typed JWTs and mutual TLS, invalidate one‑time codes, enforce content security and Referrer‑Policy, prefer system/browser callbacks and pushed authorization requests.

AI-written summary · about

  1. 0:00Intro
  2. 3:27Some Context...
  3. 9:46Simplified
  4. 10:21Attack Model (3)
  5. 14:18Implicit Flow Request
  6. 14:39Implicit Flow Response
  7. 16:47Grand Unification
  8. 17:34Machine to Machine
  9. 18:16Client Authentication
  10. 20:44Sender Constrained Access Tokens w/ MTLS
  11. 24:30Interactive Applications
  12. 26:28Redirect URI Validation Attacks
  13. 29:01Credential Leakage via Referrer Headers
  14. 29:50Authorization Code Injection
  15. 30:43Mitigation: Proof key for Code Exchange
  16. 31:54Countermeasures Summary
  17. 32:49Mix Up Attack (Variant 1)
  18. 35:54Mix Up Countermeasures
  19. 36:24How does ASP.NET Core prevent Mix Up Attacks?
  20. 38:23Anti Pattern: Native Login Dialogs
  21. 38:48Using a browser with Code Flow + PKCE
  22. 40:42Different Approaches
  23. 41:33Browser-based Applications (aka SPAs)
  24. 44:14Anti-Forgery Protection
  25. 47:02Refresh Token Storage in Browsers
  26. 47:21What's next?
~/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.