~/talk

Demystifying OAuth, JWTs and Azure AD

Talkat NDC Oslo 2023 · 2023-05-22..05-26· [security, web-platform]
links:none on file
slides:none on file

Live code debugging of Azure AD flows with concrete fixes: an SPA using MSAL vs ADAL demonstrates a wrong redirect URI and an audience mismatch that breaks JWT validation, then shows the PKCE code flow and back‑channel token exchange. Tools used are jwt.ms and Fiddler to inspect id/access tokens and claims; guidance covers app registration vs service principal, how scopes are just consent labels (not permissions), exposing an API, and using roles (and the gotcha with nested groups).

AI-written summary · about

  1. 0:00Introduction
  2. 5:58OAuth and JWT challenges
  3. 7:02PKCE flow for native apps
  4. 11:58Redirect URI mismatches
  5. 22:09Authentication with Fiddler
  6. 33:49Decoding and validating JWTs
  7. 41:11API authorization with scopes
  8. 47:10Audience mismatches fix
  9. 51:25Authorization roles and groups
  10. 58:29Summary and Q&A
~/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.