Get to know OAuth intimately
summary
Explains concrete rules: prefer authorization code with PKCE for public apps and client credentials for machine-only clients, avoid the implicit flow; access tokens live ~1 hour while a refresh token = session and is used only between client and authorization server; JWT is a token format carrying claims, scopes request claims; use the OIDC discovery endpoint to configure libraries; watch for exact config mismatches, redirect-URI manipulation, app firewalls stripping oversized Authorization headers, and log each actor so refresh and logout behavior works reliably.
AI-written summary · about
chapters (12)
- 0:00Introduction to OAuth
- 1:14Why OAuth exists
- 6:03OAuth vs OpenID Connect
- 8:06How OAuth works simplified
- 10:40Bearer tokens explained
- 13:48JWT and claims basics
- 15:57Scopes and GDPR compliance
- 17:30Choosing the right OAuth flow
- 19:47Implementing OAuth step by step
- 22:50Common OAuth mistakes
- 25:54Testing and debugging OAuth
- 27:31Q&A session
