Standards — OpenID Connect

Standards

OpenID Connect (OIDC) is an identity layer built on top of OAuth 2.0, standardized by the OpenID Foundation in OpenID Connect Core 1.0. Where OAuth 2.0 only answers "does this client have access to this resource", OIDC adds a standard way to answer "who is the user, and how were they authenticated" — expressed as a signed JWT called the ID Token. OIDC introduces two roles on top of OAuth 2.0's: the OpenID Provider (OP), which authenticates the user and issues the ID token — this is Quasr — and the Relying Party (RP), the client application consuming that identity.

Architecture

An RP discovers an OP's endpoints and capabilities via its Discovery document, then runs the familiar OAuth 2.0 authorization code flow with scope=openid. The token response carries both an access token (for calling APIs) and an ID token (for establishing identity). The RP can additionally call the UserInfo endpoint with the access token to retrieve further claims about the user.

The ID Token

The ID token is a JWT signed by the OP. Beyond the standard JWT claims it carries OIDC-specific claims, including:

  • sub — a stable, unique identifier for the user within this OP
  • aud — the client ID the token was issued for
  • nonce — echoes a value the RP generated at the start of the flow, binding the ID token to that specific request and mitigating replay
  • auth_time — when the user actually authenticated, relevant for step-up or re-authentication logic
  • optional profile claims (e.g. name, email) depending on the scopes granted and consent given

Quasr's UserInfo endpoint is available at https://{tenant_id}.api.quasr.io/oidc1/userinfo.

Security Considerations

  • Always validate the ID token yourself — signature, iss, aud, exp and nonce — rather than trusting it because it arrived over a redirect from the OP.
  • Use a fresh, unguessable nonce and state per authorization request, and verify both on return.
  • Don't use an OAuth 2.0 access token as a stand-in for identity — access tokens are opaque to the client under OIDC and are not guaranteed to be interpretable or even intended for that purpose; use the ID token instead.

Resources

2026.11.22 | © Copyright 2026 Quasr BV