Physical Address
304 North Cardinal St.
Dorchester Center, MA 02124
Physical Address
304 North Cardinal St.
Dorchester Center, MA 02124
ISO/IEC 26131:2024 defines OpenID Connect Core 1.0, a simple identity layer built on top of the OAuth 2.0 protocol. It enables clients (Relying Parties) to verify the identity of end-users based on authentication performed by an Authorization Server (OpenID Provider), and to obtain basic profile information in an interoperable, REST-like manner.
OpenID Connect implements authentication as an extension to the OAuth 2.0 authorization process. Clients request this extension by including the openid scope value in the Authorization Request. The authentication result is returned in a JSON Web Token (JWT) called an ID Token, which contains claims about the authentication event.
The standard defines three primary authentication flows, each suited for different application scenarios:
| Flow Type | Tokens from Auth Endpoint | Tokens from Token Endpoint | Use Case |
|---|---|---|---|
| Authorization Code Flow | Authorization Code | ID Token + Access Token | Server-side web apps with backend |
| Implicit Flow | ID Token + Access Token | None | Single-page applications (legacy) |
| Hybrid Flow | Authorization Code + some tokens | Remaining tokens | High-security native apps |
OpenID Connect defines standard claims for communicating user information. Claims are pieces of information asserted about an entity, organized into logical groupings called scopes:
| Scope | Claims Returned | Description |
|---|---|---|
openid |
sub (subject identifier) |
Required scope indicating OpenID Connect request |
profile |
name, family_name, given_name, picture, locale, etc. |
Basic profile information |
email |
email, email_verified |
Email address with verification status |
address |
address (JSON object) |
Structured postal address |
phone |
phone_number, phone_number_verified |
Phone number with verification status |
The UserInfo Endpoint is an OAuth 2.0 protected resource that returns claims about the authenticated end-user. When accessing this endpoint, the client presents an Access Token, and the endpoint returns the requested claims as a JSON document.
openid profile email covers most identity verification needs without over-exposing personally identifiable information (PII).ISO/IEC 26131:2024 dedicates extensive attention to security. Key considerations include:
nonce parameter associates a client session with an ID Token, preventing replay attacks even if the token is intercepted.When implementing an OpenID Connect integration, consider these engineering best practices:
A: OAuth 2.0 is an authorization framework that grants access to resources using access tokens. OpenID Connect is an authentication layer on top of OAuth 2.0 that adds identity verification via ID Tokens. With OpenID Connect, you get both authentication (who the user is) and authorization (what the user can access).
A: No. OpenID Connect is specifically designed as an extension to OAuth 2.0. It leverages OAuth 2.0 flows, endpoints, and token mechanisms. You must have an OAuth 2.0 infrastructure in place to implement OpenID Connect.
A: In practice, the authentication flow typically completes in under one second when the OpenID Provider is well-provisioned. The critical path involves a TLS handshake, authentication verification, JWT signing, and token response delivery. CDN-backed endpoints and optimized JWK caching can significantly reduce latency.
A: Yes. The Authorization Code Flow with PKCE is specifically designed for mobile and native applications where keeping a client secret is impractical. For IoT devices with limited HTTP capabilities, the standard also supports simpler profiles.