Delegated authorization vs identity — and why both matter.
OAuth 2.1 and OIDC: delegated authorization vs identity
design for the day something breaks
Implicit flow is deprecated.
OAuth 2.1 grants a client access to a user's resources without sharing credentials. OIDC layers identity on top with ID tokens. Modern best practice: authorization code + PKCE for browsers and mobile.
Authorization code: client redirects user to authorization server; receives code; exchanges for tokens.
PKCE binds the code to the client, defeating interception.
Refresh tokens persist sessions; rotate them and bind to client.
SPA logs in via Google.