~/talk

How to develop to be compliant with OAuth 2.1 out of the gate

Talkat NDC London 2021 · 2021-01-25..01-29· [security]
speakerdeck:nahidf
slides:none on file

OAuth 2.1 narrows OAuth 2.0 to concrete rules: PKCE is required for all authorization-code clients, wildcard redirect URIs are banned so authorization servers must do exact string matching, implicit and resource-owner password grants are removed, bearer tokens must not appear in query strings, and refresh tokens for public clients must be sender‑constrained or one‑time use. Demo uses .NET 5 and IdentityServer4 to switch an implicit flow to authorization code + PKCE, show exact redirect registration, obtain and use refresh tokens, and call an API with the access token.

AI-written summary · about

  1. 0:00Start
  2. 5:59OAuth 2.0 Terminology
  3. 15:22Authorization Code Interception Attack
  4. 18:27Proof key for Code Exchange
  5. 23:00Implicit Grant
  6. 25:27Password Grant
  7. 27:40OAuth 2.1 Grant Types
  8. 28:19Refresh Token
~/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.