OpenID Connect (OIDC)
What it is
OpenID Connect (OIDC) is a thin identity layer built on top of OAuth 2.0. Where OAuth gives an app delegated access, OIDC adds standardized authentication: it tells the app that a user logged in and who they are. It is the modern foundation for single sign-on across consumer apps, mobile, and APIs.
How it works
OIDC introduces the ID token, a signed JWT containing claims about the authenticated user (subject identifier, name, email, authentication time). The app validates the token's signature against the provider's published keys (JWKS) and reads the claims. A standard userinfo endpoint returns additional profile data.
- ID token: proof of authentication, as a JWT.
- Access token: still OAuth, for calling APIs.
- Discovery: providers publish configuration at a well-known URL so clients can self-configure.
Status
OIDC Core 1.0 is final and ubiquitous, supported by every major identity provider. It was republished as ITU-T Recommendation X.1285 in 2025. Extensions like the Shared Signals Framework and CIBA continue to evolve.
When to use it
Any time you need to log a user in. Reach for OIDC over raw OAuth for authentication, and over SAML when building modern web, mobile, or API-centric apps.
Pitfalls
- Always validate the ID token signature, issuer, audience, and expiry.
- Do not confuse the ID token (authentication) with the access token (authorization).
Related
Guides: OAuth vs OIDC, SAML vs OIDC. Glossary: OIDC, ID token.
Who wrote it
OpenID Connect was authored by a group including Nat Sakimura, Mike Jones, and John Bradley. Vittorio Bertocci did much of the work of explaining it to developers, and Filip Skokan and Roland Hedberg maintain certified implementations. More in the experts directory.
OpenID Connect (OIDC): frequently asked questions
- What is OpenID Connect (OIDC)?
- OpenID Connect is a thin identity layer built on top of OAuth 2.0. Where OAuth grants an app delegated access to resources, OIDC adds standardized authentication: it proves that a user logged in and returns who they are through a signed ID token. It is the modern foundation for single sign-on across web, mobile, and API-centric apps.
- What is the difference between OpenID Connect and OAuth 2.0?
- OAuth 2.0 is an authorization framework: it lets an app act on a user's behalf without handling their password. OpenID Connect adds authentication on top, telling the app who the user is via an ID token. Use OAuth for delegated access to APIs, and OIDC when you need to log a user in.
- What is the difference between an ID token and an access token?
- An ID token is proof of authentication, a signed JWT with claims about the user (subject, name, email, authentication time) that the app validates and reads. An access token is an OAuth credential used to call APIs. Do not use an ID token to call APIs, and do not treat an access token as proof of who the user is.
- Is OpenID Connect the same as SAML?
- No. Both enable single sign-on, but OIDC is a modern JSON and JWT-based protocol suited to web, mobile, and APIs, while SAML 2.0 is an older XML-based standard still common in enterprise federation. New applications generally choose OIDC; SAML persists where enterprise identity providers and legacy integrations require it.
Related on Start with Identity
- GuideOAuth 2.0 and OpenID Connect Implementation Guide
A developer-focused guide to implementing OAuth 2.0 and OpenID Connect, covering authorization flows, PKCE, token management, scope design, and API protection p
- RecipeAdd login to a Next.js app with OIDC
A complete, copy-paste OpenID Connect login for the Next.js App Router using authorization code flow with PKCE, server-side token exchange, and httpOnly cookies
- BlogCISA adds the last two Ivanti Connect Secure chain flaws to KEV after Ivanti's October 29 patch
CISA added Ivanti Connect Secure CVE-2026-111357 and CVE-2026-118527 to its exploited list on October 30, a day after Ivanti patched the root escalation UTA0576
- ExpertCo-chair, OpenID Shared Signals working group
Annabelle Backman is a principal security engineer on AWS Identity and co-chairs the OpenID Shared Signals and Events working group. She edited RFC 8935 and RFC
- CVEDrupal Simple OAuth/OIDC auth bypass via an alternate path
Drupal Simple OAuth / OIDC 6.0.0 through 6.0.6 allowed authentication to be skipped on an alternate path. Patched in 6.0.7.
- ExpertEditor, OpenID for Verifiable Credentials
Kristina Yasuda edits OpenID for Verifiable Presentations and OpenID for Verifiable Credential Issuance, the two protocols that move credentials between issuers