Internet & Networking

OpenID Connect

Also known as: OIDC, OpenID, ID token, SSO protocol, Sign in with Google

OpenID Connect (OIDC) is an authentication protocol built on OAuth 2.0.

Where OAuth 2.0 answers 'what can this app access?', OIDC answers 'who is this user?' It provides a standardized ID token (a JWT) containing user identity information, enabling federated login across applications.

OpenID Connect, explained at three levels

At home

OpenID Connect is the protocol that makes 'Sign in with Google' work. Google not only grants the app access to your data (OAuth 2.0) but also tells the app exactly who you are -- your name, email, and profile picture -- in a standardized format the app can trust.

At work

OIDC is how enterprise SSO (Single Sign-On) works. Employees log in once to their company's identity provider (Okta, Azure AD), and that login works across all connected apps -- HR software, project management, business intelligence tools -- without logging in separately to each.

Real-world examples

At home

Aisha uses 'Sign in with Apple' for a recipe app. Apple's OIDC implementation sends the app a token confirming she's authenticated -- including an anonymized email relay address. She never shares her real email with the app.

At work

Thomas's company uses Okta as their identity provider. All their SaaS tools (Salesforce, Jira, Slack, GitHub) are configured as OIDC clients pointing to Okta. Employees log in once; Okta issues tokens for each app. Offboarding an employee disables their Okta account and immediately revokes access to all apps.

Common confusions

  • OIDC and SAML are the same — Both enable SSO, but OIDC uses JSON tokens and REST APIs (modern, mobile-friendly), while SAML uses XML assertions and redirects (older, better supported in legacy enterprise apps). Many identity providers support both.
  • You can use OAuth 2.0 alone for authentication — OAuth 2.0 access tokens don't tell you who the user is -- they only grant access. Without OIDC's ID token, you'd need to call the userinfo endpoint separately. OIDC was created specifically to fill this gap.

For analysts

OIDC is the foundation of enterprise SSO, which has direct operational impact -- when an OIDC integration breaks, analysts can't log into BI tools. Understanding the protocol helps BAs communicate clearly with IT about access issues.

History & origin

OpenID (the original version) launched in 2005 but had adoption challenges due to complexity. OpenID Connect launched in 2014, built on OAuth 2.0's foundations, making it simpler and more compatible with the modern API ecosystem. It quickly became the standard for identity federation, adopted by Google, Microsoft, Apple, and every major identity provider. OIDC is the protocol behind 'Sign in with Google', 'Sign in with Apple', and enterprise SSO from Okta and Azure AD.