~/talk

OAuth – the good Parts

Talkat NDC Security 2023 · 2023-01-16..01-19· [security, api-design]
slides:none on file

OAuth history condenses to concrete advice: prefer OAuth 2.0 (2.1 consolidates bad options), use only two flows in most cases — client_credentials for machine‑to‑machine and authorization code + PKCE for interactive apps — issue short‑lived access tokens (demo shows ~1 hour and one case 200s), use refresh tokens for background renewal and revocation, validate JWTs (signature algorithm not “none”, issuer, audience, scope), avoid full SPA auth in the browser and instead use a BFF/server‑side approach, demos use IdentityServer, .NET/IdentityModel and jwt.io for token inspection.

AI-written summary · about

  1. 0:00Start
  2. 10:48OAuth Architecture and Terminology
  3. 14:31Example: GitHub Scopes
  4. 18:04Access Token Processing Rules
  5. 25:28Token Management
  6. 28:05Overview
  7. 40:16Application Architectures
  8. 46:26Not Browser-based Applications
  9. 54:03Further Reading
~/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.