OAuth Cheat Sheet

This section documents OAuth 2.0 (RFC 6749) as amended by the OAuth 2.0 Security Best Current Practice (RFC 9700 / BCP 240), the OAuth 1.0 Protocol (RFC 5849) for historical context, and OpenID Connect Core 1.0, as published at the IETF Datatracker and the OpenID Foundation specifications — and, on the Spring pages, Spring Boot 4.1.x and Spring Security 7.1.x as published at the Spring Security reference documentation — which are the references these pages are written and verified against.

OAuth 2.1 is still an Internet-Draft (draft-ietf-oauth-v2-1-16, 3 September 2026) and is flagged as such everywhere it appears on these pages. It is a working-group consolidation in progress, not a published standard; nothing here should be read as saying otherwise.

This content was generated with the assistance of AI and should be verified against those official specifications before being relied on in production.

This section’s bibliography lists the reference material consulted while preparing these pages.

A single-page, colour-coded summary of the OAuth essentials — the four roles and the protocol endpoints, the authorization-request and token-request parameter tables, every grant type with its OAuth 2.1 status, the PKCE two-liner, the token-response and error-code tables, the ID vs. access vs. refresh token comparison, JWT anatomy and the resource-server validation checklist, introspection and revocation one-liners, the client-authentication methods, an RFC index, the Security BCP checklist, the DPoP proof skeleton, the discovery document’s key fields, acr/amr/auth_time and the step-up challenge, the passwordless primary methods and the 2FA layers kept separate, and the protocol-concept to Spring-type mini-table — handy for quick memorization or as a printable desk reference.

For the full explanation, every parameter, and additional examples, see the dedicated pages:

App types — Native & mobile apps and Browser-based apps.

Operating — Testing & debugging OAuth.

Spring Boot integration — Integration overview, Flow recipes, and Authentication methods.