Home/Glossary/OIDC (OpenID Connect)

OIDC (OpenID Connect)

An identity layer built on OAuth 2.0 that enables applications to verify user identity and obtain basic profile information through a standardized protocol.

Identity & Access ManagementAlso called: "OpenID Connect", "OIDC protocol"

OpenID Connect (OIDC) extends OAuth 2.0 to provide authentication in addition to authorization, allowing applications to confirm who a user is rather than just what they can access.

Why it matters

  • Standardizes single sign-on (SSO) across web, mobile, and API applications.
  • Eliminates the need to store and manage user passwords in every application.
  • Provides verifiable identity tokens (ID tokens) that applications can trust.
  • Enables federated identity across organizational boundaries and identity providers.

Key concepts

  • ID Token: A JWT containing claims about the authenticated user (subject, issuer, expiration).
  • UserInfo Endpoint: Returns additional profile claims like email, name, and picture.
  • Claims: Key-value pairs describing user attributes (sub, email, name, groups).
  • Scopes: Define what profile information is requested (openid, profile, email).
  • Discovery Document: JSON metadata describing provider endpoints and capabilities.

Common OIDC flows

  • Authorization Code Flow: Most secure for server-side apps; code exchanged for tokens.
  • Authorization Code + PKCE: Secure flow for mobile and single-page applications.
  • Implicit Flow: Legacy browser-based flow returning tokens directly (deprecated).
  • Hybrid Flow: Combines code and implicit for specific use cases.

Security considerations

  • Always validate ID token signatures using the provider's public keys (JWKS).
  • Verify issuer, audience, and expiration claims before trusting tokens.
  • Use PKCE for public clients to prevent authorization code interception.
  • Implement proper session management and token refresh strategies.
  • Consider token binding or DPoP for high-security scenarios.

Related Articles

View all articles
📄

Load Balancing Compared: Cloudflare vs AWS ELB vs Azure Front Door vs Google Cloud Load Balancing

A deep technical comparison of load balancing across Cloudflare, AWS Elastic Load Balancing, Azure Front Door, and Google Cloud Load Balancing — covering global vs regional architectures, health checking, SSL termination, and pricing.

Read article →
📄

Zero Trust Access Compared: Cloudflare Access vs AWS Verified Access vs Azure Entra vs Google BeyondCorp

A deep technical comparison of Zero Trust Network Access platforms — Cloudflare Access, AWS Verified Access, Azure Entra Private Access, and Google BeyondCorp Enterprise — covering architecture, identity integration, device posture, pricing, and migration strategies.

Read article →
Biometric Authentication: Understanding FAR, FRR, and CER for Security Professionals

Biometric Authentication: Understanding FAR, FRR, and CER for Security Professionals

Master the critical metrics behind biometric authentication systems including False Acceptance Rate (FAR), False Rejection Rate (FRR), and Crossover Error Rate (CER). Learn how to evaluate, tune, and deploy biometric systems across enterprise, consumer, and high-security environments.

Read article →
Threat Modeling with STRIDE and DREAD: A Complete Guide to Proactive Security Architecture

Threat Modeling with STRIDE and DREAD: A Complete Guide to Proactive Security Architecture

Master threat modeling with STRIDE and DREAD frameworks to identify, classify, and prioritize security threats before they become vulnerabilities. This comprehensive guide covers data flow diagrams, mitigation mappings, MITRE ATT&CK integration, and building an enterprise threat modeling program.

Read article →