Explain it to Me Like I’m 5: Oauth2 and OpenID
summary
Explains concrete OAuth2/OpenID Connect elements: access, refresh and id tokens; scopes and their intersection; grant types including client credentials, authorization code with PKCE, device code, and why implicit/password are deprecated; examples like device-code logins for TV devices. Shows Spring Security built-in support (5.2+), required starters, config keys (client-id, client-secret, issuer-uri) and resource-server setup using resource-server JWT JWK URI. Gives debugging steps: enable Spring Security debug logging and watch browser network redirects.
AI-written summary · about
chapters (11)
- 0:00Introduction
- 1:09When to use OAuth2 and OpenID
- 7:27Authentication vs Authorization
- 9:54OAuth2 key concepts
- 12:45Tokens and scopes
- 19:25Grant types explained
- 25:49Authorization code flow
- 30:28OpenID Connect basics
- 34:17Spring Security setup
- 44:07Debugging tips
- 45:10Why use OAuth2 and OpenID
related talks
47mIntroduction to OAuth 2.0 and OpenID Connect
33mOAuth and OpenID Connect Deep Dive
28mOAuth 2.0 and OIDC
45mDemystifying OAuth2 and OIDC
19mOAuth and OpenID Connect in Plain English
31mOAuth 2.1 And OpenID Connect
51mSecuring applications with OAuth2 and OpenID Connect using SpringSecurit
49mSpring Security 5: Demystifying Cloud Identity
