OpenID Connect Discovery

Demo · format-valid IANA · permanent

/.well-known/openid-configuration

Standard: OpenID Connect Discovery 1.0

The discovery document every OpenID Provider publishes so clients know its endpoints and capabilities.

What it is

An OpenID Connect issuer publishes its complete configuration — authorization, token and userinfo endpoints, JWKS location, supported scopes, response types, signing algorithms — at /.well-known/openid-configuration. Clients fetch it once and never hardcode an endpoint.

The threat it addresses

Hardcoded endpoints break when providers change infrastructure, and mixing endpoints from different issuers is how confusion attacks happen. Discovery binds every endpoint to a canonical issuer, and clients MUST verify the issuer matches the configuration document's origin.

How it works

  • A client derives the URL from the issuer: <issuer>/.well-known/openid-configuration.
  • The response must include issuer, authorization_endpoint, token_endpoint, jwks_uri (the metadata that defines the well-known discovery contract).
  • The client uses the returned endpoints and jwks_uri to validate signed tokens.
  • This demo serves a complete metadata document for a demo issuer on this origin, including its own jwks.json and registration endpoint.

Honesty notes

  • Demo: the issuer is this showcase host — it advertises demo endpoints, no real accounts or tokens.

In the wild

  • Google accounts.google.com/.well-known/openid-configuration
  • Apple appleid.apple.com/.well-known/openid-configuration

Links verified to serve this URI on 2026-08-05; some point at the governing spec where no live deployment could be verified.

Try it

Live demo

Format-valid demo issuer metadata (no real accounts or tokens)

Content-Type: application/json; charset=utf-8
{
  "issuer": "https://well-known.page",
  "authorization_endpoint": "https://well-known.page/demo/oauth/authorize",
  "token_endpoint": "https://well-known.page/demo/oauth/token",
  "jwks_uri": "https://well-known.page/.well-known/jwks.json",
  "registration_endpoint": "https://well-known.page/.well-known/oidc-registration",
  "response_types_supported": [
    "code",
    "id_token"
  ],
  "subject_types_supported": [
    "public"
  ],
  "id_token_signing_alg_values_supported": [
    "EdDSA"
  ],
  "scopes_supported": [
    "openid",
    "profile"
  ],
  "claims_supported": [
    "sub",
    "iss",
    "aud",
    "exp",
    "iat"
  ],
  "grant_types_supported": [
    "authorization_code",
    "implicit"
  ],
  "code_challenge_methods_supported": [
    "S256"
  ],
  "token_endpoint_auth_methods_supported": [
    "none",
    "client_secret_basic"
  ],
  "_demo_note": "Demo OpenID Provider metadata for well-known.page. No real accounts, tokens, or userinfo are issued."
}