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.
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.
https://{tenant_id}.api.quasr.io/.well-known/openid-configuration. It lists the authorization, token, UserInfo and JWKS endpoints along with the supported scopes, response types and signing algorithms — most OIDC libraries can be configured from this single URL.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 OPaud — the client ID the token was issued fornonce — echoes a value the RP generated at the start of the flow, binding the ID token to that specific request and mitigating replayauth_time — when the user actually authenticated, relevant for step-up or re-authentication logicname, email) depending on the scopes granted and consent givenauth_time claim to issued ID tokens by default. If your integration relies on it (e.g. to enforce re-authentication after a maximum session age), you can add it as a custom claim via an extension in the meantime.Quasr's UserInfo endpoint is available at https://{tenant_id}.api.quasr.io/oidc1/userinfo.
sub claim — other profile claims are not yet returned there, even where they were granted and are present on the ID token itself.iss, aud, exp and nonce — rather than trusting it because it arrived over a redirect from the OP.nonce and state per authorization request, and verify both on return.