~/talk

Implementing OpenID Connect and OAuth 2.0 – Tips from the Trenches

TalkinGermanat NDC Security Oslo 2020 · 2020-01-22..01-24· [security]
slides:none on file

Covers concrete implementation choices for OpenID Connect and OAuth 2.0: use the OIDC subject as the canonical user ID, distinguish public vs confidential clients and map native/browser flows to the authorization code flow with PKCE, and prefer short-lived access tokens plus sliding refresh tokens for sessions. Discusses trade-offs between self-contained JWTs and reference tokens for caching and revocation, partitioning APIs by resource (using the resource indicators spec) to issue resource-specific tokens, keeping scopes coarse for features but fine-grained for write permissions, and planning token revocation and session synchronization.

AI-written summary · about

  1. 0:00Start
  2. 6:29The Big Picture
  3. 9:28Who are your Users?
  4. 16:511st Approximation
  5. 23:41Pass-thru vs Identity Transformation (2)
  6. 26:53Protocol Flow
  7. 28:40Authorization Code Flow
  8. 29:28Identity Tokens
  9. 30:58Session Management
  10. 37:10Accessing Resources
  11. 39:03Example: GitHub Scopes
  12. 40:42Example: Google Scopes
  13. 41:33Only introduce Scopes when you need them!
  14. 45:00Example: Modeling API Resources with IdentityServer
  15. 46:47Example: Access Token
  16. 49:30Shared vs Resource-specific Access Tokens
  17. 51:29Token Lifetime and Revoking Access to Resources
  18. 54:11Access Token Type
  19. 59:22Summary
~/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.