IAM glossary
What is OIDC?
OpenID Connect
An identity layer on top of OAuth 2.0 (2014): it adds the ID token, the userinfo endpoint and discovery, so the app learns who signed in. The default choice for new apps.
How it works
OpenID Connect is an identity layer built on OAuth 2.0. It reuses the same flows and adds what OAuth lacks for login: the openid scope, the ID token (a signed JWT that says who signed in), the userinfo endpoint, the discovery document and standard claims like sub, email and name.
With OIDC the app delegates the whole login to the provider and receives a verifiable answer: “this is user 248289761001, authenticated at 10:02 with password and MFA”. It is the standard behind “Sign in with Google/Microsoft/Apple” and most modern enterprise SSO.
A simple example
A startup does not want to store passwords. It adds “Sign in with Microsoft” using OIDC: it registers the app, asks for scopes openid profile email, and after login receives an ID token with the user’s name and email. Password policies, MFA and leavers are handled by Microsoft Entra ID.
Common mistakes
- Forgetting the
openidscope and receiving only an access token. - Not validating the ID token (signature, iss, aud, exp, nonce).
- Using the email instead of
sub(plus issuer) as the user id.
See it in action: knowing who signed in
See it at work
- LabOAuth 2.0 vs OpenID ConnectWhy OAuth 2.0 is not a login protocol, and what OpenID Connect adds on top.
- LabSAML vs OpenID ConnectBoth do single sign-on. Where they differ, and how to choose for a new app.
- DebuggerProtocol DebuggerPaste a JWT, a discovery URL, a SAML response or a SCIM payload and see what is inside.