Beta

Create a tenant

A new tenant starts with its own users, OAuth settings, audit history and logs. You are its first Tenant Admin.

OAuth 2.0

Delegated access with OAuth 2.0, from the problem it solves through the authorization code flow, tokens, client types and production operations.

Start with The problem OAuth solves

Foundations

The problem OAuth solves, the roles in every OAuth exchange, and the vocabulary the rest of the OAuth lessons build on.

The authorization code flow

The authorization code flow step by step: the request, consent, the returned code, PKCE and exchanging the code for tokens.

Other grants and flows

Device, client credentials, refresh and assertion grants, and how to choose the right flow for an application.

Clients and registration

Client IDs and registration, redirect URIs, client authentication, and keeping client credentials current.

Tokens and resource servers

What access and refresh tokens contain, how APIs validate them, scopes and audiences, introspection and revocation.

Application architectures

How browser, native, backend and service-to-service applications use OAuth safely.

Security and failure cases

The ways OAuth deployments fail, such as redirect URI mistakes, code interception and token theft, and the defenses for each.

Implementation and operations

Building, testing, monitoring and troubleshooting OAuth in production.

History, legacy, and migration

Where OAuth came from, what changed from OAuth 1.0 to OAuth 2.1, and how to migrate older integrations.

We value your privacy

We use cookies and similar technologies to enhance your browsing experience, and analytics to understand our traffic. By clicking "Allow all", you consent to optional analytics. Cookie Policy

Learn identity