DevTools Logo

OIDC Discovery Document Validator

OIDC Discovery Document Validator

Check required fields, read a plain-English capability summary and compare providers — all in your browser.

Runs in your browser
Try an example

Discovery document (JSON)

Paste the JSON body served at /.well-known/openid-configuration. This tool never fetches the URL: discovery endpoints often block browser CORS, and a server-side fetch proxy is not offered here. Metadata stays in this tab.

Validation results

Paste an OIDC discovery document to validate it

Required fields get spec-named findings; optional fields get a plain-English capability readout.

About this tool

OpenID Connect providers publish their capabilities at /.well-known/openid-configuration. The resulting JSON is dense: issuer, endpoints, response types, signing algorithms, grants, scopes and claims are all mixed together, and small configuration mistakes surface only at integration time. This validator parses the pasted document and turns it into a readable capability readout alongside findings that name the relevant specification section. Required fields are checked against OpenID Connect Discovery 1.0 §3: issuer (https, no query or fragment), authorization_endpoint, token_endpoint (exempt for implicit-only providers), jwks_uri, response_types_supported, subject_types_supported and id_token_signing_alg_values_supported, which MUST contain RS256. Conditional checks cover the openid scope when scopes_supported is published, spec defaults for omitted optional arrays, PKCE support via code_challenge_methods_supported, pairwise subject identifiers and the security implications of alg=none. Nothing is fetched. Discovery endpoints frequently reject browser cross-origin requests, and provider metadata can reveal internal hostnames, so the document stays in your tab. Use Compare to diff two providers field by field, and download the Markdown report for a design doc or ticket.

Examples & use cases

Pre-integration capability check

issuer: https://id.example.com/realms/acme
id_token_signing_alg_values_supported: [RS256, ES256]
grant_types_supported: [authorization_code, refresh_token]

A healthy document yields a capability summary: RS256 is present, refresh tokens are advertised and the endpoints are inventoried.

HS256-only provider

id_token_signing_alg_values_supported: [HS256]

The validator raises a hard error: OIDC Discovery §3 requires RS256 to be included, so clients that only implement RS256 cannot validate ID Tokens.

Provider comparison

Provider A: end_session_endpoint + pushed_authorization_request_endpoint
Provider B: neither field

Compare mode lists added, removed and changed fields, and flags a different issuer so you know the documents describe different providers.

    Examples

    Healthy provider

    Input
    id_token_signing_alg_values_supported: [RS256, ES256]
    grant_types_supported: [authorization_code, refresh_token]
    code_challenge_methods_supported: [S256]
    Output
    No hard errors · RS256 ✓ · refresh tokens ✓ · PKCE S256 ✓

    The capability cards summarise what an integrator can rely on without reading the raw JSON.

    HS256-only provider

    Input
    id_token_signing_alg_values_supported: [HS256]
    Output
    Error — RS256 is not advertised and MUST be included (OIDC Discovery 1.0 §3).

    A hard finding names the spec clause and explains the client-side impact.

    Wrong URL pasted

    Input
    {"error":"not_found","error_description":"..."}
    Output
    Error — looks like an OAuth error response; required fields issuer, authorization_endpoint, token_endpoint, jwks_uri, … missing.

    The document still parses, so all missing required fields are named instead of hiding behind a generic parse failure.

    About this tool

    OIDC Discovery Document Validator turns a provider's /.well-known/openid-configuration JSON into a plain-English capability readout and a list of spec-named findings. It checks the fields OpenID Connect Discovery 1.0 §3 requires — issuer, authorization_endpoint, token_endpoint, jwks_uri, response_types_supported, subject_types_supported and id_token_signing_alg_values_supported — and explains what each failure means for an integration.

    The tool also reads optional metadata that decides whether your flow will work: grants, response modes, client authentication methods, PKCE challenge methods, claims, feature flags such as backchannel logout, and the endpoint inventory. Omitted optional arrays are resolved to their specification defaults and labelled, so an absent field is never shown as an unsupported capability. Paste a second document to diff two providers, then download a Markdown report for a design doc.

    Everything runs in the browser tab. Discovery endpoints often block cross-origin browser requests and may expose internal hostnames, so no URL is fetched and no metadata is uploaded. Findings are advisory engineering notes, not a security certification.

    What this tool does not do

    • No URL is fetched: the tool validates pasted JSON only, because discovery endpoints commonly block browser CORS.
    • Findings are advisory and based on advertised metadata; they are not a security certification or a live flow test.
    • Documents larger than 256,000 characters are rejected, and long claim or scope lists are collapsed in the summary.

    How to use this tool

    1. Paste or load

      Paste the JSON served at /.well-known/openid-configuration, open a file, or click one of the bundled provider samples.

    2. Review the summary

      Read the issuer, derived well-known URL and capability cards for signing algorithms, grants, scopes, claims and endpoints.

    3. Inspect findings

      Open Findings for severity-labelled checks with spec references; expand a row for the rationale.

    4. Compare and export

      Paste a second document under Compare to get a field-by-field diff, then copy or download the Markdown report.

    Use cases

    Evaluate a new IdP

    Check RS256, refresh grants, PKCE, logout and userinfo support before writing integration code.

    Audit provider configuration

    Turn a vendor's metadata into spec-named findings for an IAM review or design document.

    Compare two providers

    Diff endpoints, algorithms, grants, scopes and extension parameters field by field.

    Discovery fields the tool interprets

    FieldWhat the validator does
    issuerMust be an https URL with no query or fragment and must match the ID Token iss claim; loopback http is allowed only as a documented development exception.
    authorization_endpoint / token_endpoint / jwks_uriRequired URLs; token_endpoint is conditional — §3 exempts implicit-only providers.
    response_types_supportedRequired array; a missing `code` value is reported as no code flow, not as a PKCE verdict.
    subject_types_supportedRequired array of `public` and/or `pairwise`; pairwise subjects are not stable across clients.
    id_token_signing_alg_values_supportedRequired array; RS256 MUST be included, and `none` gets a security advisory.
    scopes_supportedOptional, but if published it MUST contain `openid`; omission is not treated as lack of support.
    grant_types_supportedDefaults to `authorization_code`; missing refresh_token and advertised ROPC produce advisories.
    code_challenge_methods_supportedThe PKCE signal (RFC 8414 §2); S256 is preferred over `plain`.
    Extension parametersUnknown keys never block validation; they are shown as chips and preserved verbatim in the export.

    Spec defaults are applied for omitted response_modes_supported, grant_types_supported and token_endpoint_auth_methods_supported and listed in the summary.

    Common mistakes

    Mistake:Treating a missing code_challenge_methods_supported as proof that PKCE is unsupported.

    Fix:The tool reports absence as a note. PKCE support is advertised by that parameter, but providers may support it without publishing it; confirm with the IdP.

    Mistake:Reading a missing grant_types_supported as 'no grants'.

    Fix:RFC 8414 §2 defines the default as authorization_code; the summary uses the default and labels it explicitly.

    Mistake:Assuming http://localhost issuers are spec-conformant.

    Fix:OIDC Discovery §3 requires https for issuers; the loopback exception in RFC 8252 concerns redirect URIs. The tool accepts localhost http only as a clearly labelled development exception.

    Mistake:Pasting a JWKS or an ID Token into the discovery field.

    Fix:The parser detects JWKS objects, JWTs, HTML pages and OAuth error bodies and points you to the discovery JSON instead.

    Frequently asked questions

    Which discovery fields are required by spec?

    OpenID Connect Discovery 1.0 §3 requires issuer, authorization_endpoint, jwks_uri, response_types_supported, subject_types_supported and id_token_signing_alg_values_supported. token_endpoint is also required unless the provider supports only the Implicit Flow. The validator names the spec section for every missing or malformed field.

    Why is RS256 required?

    Discovery §3 states that RS256 MUST be included in id_token_signing_alg_values_supported. RS256 is the baseline every conforming OIDC client can verify, so a provider that advertises only HS256 or ES256 will fail clients that implement just the required algorithm. The tool raises this as a hard error and explains the impact.

    Does the tool fetch the discovery URL for me?

    No. You paste the JSON body served at /.well-known/openid-configuration. Many providers block browser cross-origin requests to that endpoint, and a server-side fetch would expose internal metadata; this tool is deliberately local-only. Open the URL in your browser or use curl, then paste the JSON here.

    What does subject_types: public mean?

    With public subjects the same sub value is returned to every client, so it can be used as a stable cross-service identifier. Pairwise subjects are derived per client; sub differs between relying parties and must not be used as a global user key. Both values are allowed by OIDC Core §2.

    How do I know if PKCE is supported?

    Look at code_challenge_methods_supported (RFC 8414 §2). The S256 value means the provider advertises the modern PKCE challenge method. Absence of the parameter is only a note, not proof that PKCE is unavailable. Separately, a response_types_supported list without `code` means there is no authorization-code flow at all — that is a different, larger finding.

    Are missing optional fields treated as unsupported?

    No. The validator applies the specification defaults: grant_types_supported defaults to authorization_code, response_modes_supported to query and fragment, and token_endpoint_auth_methods_supported to client_secret_basic. Applied defaults are labelled in the summary. scopes_supported may be omitted entirely, but if published it MUST include openid.

    References & standards