Ndovu elephant mark ndovu

OAUTH2 · FLOWS

OAuth2 flows

Every OAuth2 grant on the wire: the authorization-code flow (with PKCE), client-credentials, the device flow, and the retired grants, each annotated message by message with its RFC sections.

THE FOUR FLOWS
  • The authorization-code flow The OAuth2 authorization-code grant on the wire: every message annotated, the front channel vs the back channel, the PKCE variant, refresh tokens, and the ways it goes wrong in production.
  • The client-credentials flow OAuth2 machine-to-machine: the client-credentials grant on the wire, the client authentication methods that decide whether it is secure, token caching, and how it fails in production.
  • The device flow The OAuth2 device authorization grant (RFC 8628) on the wire: the two-screen flow, the exact polling rules, slow_down done right, the user-code format, and the remote-phishing problem.
  • The retired grants Why OAuth2 retired the implicit and resource-owner-password grants: what problems they solved in 2012, the exact failures that killed them, and what replaced them.