Start with Identity
← Glossary
Protocol

OpenID Connect (OIDC)

OpenID Connect is an authentication layer built on top of OAuth 2.0. Where OAuth tells you what a token is authorized for, OIDC tells you who the user is via a signed ID token. OIDC is the modern default for federated sign-in.

OIDC is the default for new applications because it fits how software is actually built now: JSON, JWTs, mobile apps, and APIs, rather than XML posted through a browser form. SAML persists where the enterprise on the other side requires it, which is most large B2B deals, so real-world stacks support both. The discovery document is the practical superpower, letting a client self-configure from one URL.

See also: OpenID Connect, ID token, SAML vs OIDC, add login to Next.js recipe

Related terms
Last reviewed By SWI Community TeamSuggest a correctionHow we research