What does an OpenID Connect discovery document look like?
An OpenID Provider configuration is the JSON document an OpenID Provider publishes at /.well-known/openid-configuration. It names the provider's endpoints and what it supports, which is the information a Relying Party needs to interact with it (OpenID Connect Discovery 1.0 Sections 3 and 4).
OpenID Provider configurationJSON document
A real OpenID Provider configuration
Issued Commit 477f404
Captured from the deployed ProtocolSoup at the commit shown. The message is shown exactly as it was sent.
{"issuer":"https://protocolsoup.com","authorization_endpoint":"https://protocolsoup.com/oidc/authorize","token_endpoint":"https://protocolsoup.com/oidc/token","userinfo_endpoint":"https://protocolsoup.com/oidc/userinfo","jwks_uri":"https://protocolsoup.com/oidc/.well-known/jwks.json","registration_endpoint":"https://protocolsoup.com/oidc/register","revocation_endpoint":"https://protocolsoup.com/oauth2/revoke","introspection_endpoint":"https://protocolsoup.com/oauth2/introspect","scopes_supported":["openid","profile","email","address","phone","roles","offline_access"],"response_types_supported":["code","token","id_token","id_token token","code id_token","code token","code id_token token"],"response_modes_supported":["query","fragment","form_post"],"grant_types_supported":["authorization_code","implicit","refresh_token"],"subject_types_supported":["public","pairwise"],"id_token_signing_alg_values_supported":["RS256"],"userinfo_signing_alg_values_supported":["RS256"],"request_object_signing_alg_values_supported":["none","RS256"],"token_endpoint_auth_methods_supported":["client_secret_basic","client_secret_post","private_key_jwt","none"],"claims_supported":["sub","iss","aud","exp","iat","auth_time","nonce","at_hash","c_hash","acr","amr","name","given_name","family_name","middle_name","nickname","preferred_username","profile","picture","website","gender","birthdate","zoneinfo","locale","updated_at","email","email_verified","address","phone_number","phone_number_verified","roles"],"acr_values_supported":["urn:protocolsoup:ac:password"],"code_challenge_methods_supported":["S256"],"token_endpoint_auth_signing_alg_values_supported":["RS256","ES256","EdDSA"],"revocation_endpoint_auth_methods_supported":["client_secret_basic","client_secret_post","private_key_jwt","none"],"revocation_endpoint_auth_signing_alg_values_supported":["RS256","ES256","EdDSA"],"introspection_endpoint_auth_methods_supported":["client_secret_basic","client_secret_post"],"request_parameter_supported":false,"request_uri_parameter_supported":true,"claims_parameter_supported":true,"authorization_response_iss_parameter_supported":true}
Taken from the body, in the response of exchange 1 below.
Every field, with the specification text that defines it
JSON document, indented
{
"issuer": "https://protocolsoup.com",
"authorization_endpoint": "https://protocolsoup.com/oidc/authorize",
"token_endpoint": "https://protocolsoup.com/oidc/token",
"userinfo_endpoint": "https://protocolsoup.com/oidc/userinfo",
"jwks_uri": "https://protocolsoup.com/oidc/.well-known/jwks.json",
"registration_endpoint": "https://protocolsoup.com/oidc/register",
"revocation_endpoint": "https://protocolsoup.com/oauth2/revoke",
"introspection_endpoint": "https://protocolsoup.com/oauth2/introspect",
"scopes_supported": [
"openid",
"profile",
"email",
"address",
"phone",
"roles",
"offline_access"
],
"response_types_supported": [
"code",
"token",
"id_token",
"id_token token",
"code id_token",
"code token",
"code id_token token"
],
"response_modes_supported": [
"query",
"fragment",
"form_post"
],
"grant_types_supported": [
"authorization_code",
"implicit",
"refresh_token"
],
"subject_types_supported": [
"public",
"pairwise"
],
"id_token_signing_alg_values_supported": [
"RS256"
],
"userinfo_signing_alg_values_supported": [
"RS256"
],
"request_object_signing_alg_values_supported": [
"none",
"RS256"
],
"token_endpoint_auth_methods_supported": [
"client_secret_basic",
"client_secret_post",
"private_key_jwt",
"none"
],
"claims_supported": [
"sub",
"iss",
"aud",
"exp",
"iat",
"auth_time",
"nonce",
"at_hash",
"c_hash",
"acr",
"amr",
"name",
"given_name",
"family_name",
"middle_name",
"nickname",
"preferred_username",
"profile",
"picture",
"website",
"gender",
"birthdate",
"zoneinfo",
"locale",
"updated_at",
"email",
"email_verified",
"address",
"phone_number",
"phone_number_verified",
"roles"
],
"acr_values_supported": [
"urn:protocolsoup:ac:password"
],
"code_challenge_methods_supported": [
"S256"
],
"token_endpoint_auth_signing_alg_values_supported": [
"RS256",
"ES256",
"EdDSA"
],
"revocation_endpoint_auth_methods_supported": [
"client_secret_basic",
"client_secret_post",
"private_key_jwt",
"none"
],
"revocation_endpoint_auth_signing_alg_values_supported": [
"RS256",
"ES256",
"EdDSA"
],
"introspection_endpoint_auth_methods_supported": [
"client_secret_basic",
"client_secret_post"
],
"request_parameter_supported": false,
"request_uri_parameter_supported": true,
"claims_parameter_supported": true,
"authorization_response_iss_parameter_supported": true
}
issuer"https://protocolsoup.com"issuer REQUIRED. URL using the https scheme with no query or fragment components that the OP asserts as its Issuer Identifier. If Issuer discovery is supported (see Section 2), this value MUST be identical to the issuer value returned by WebFinger. This also MUST be identical to the iss Claim value in ID Tokens issued from this Issuer.
authorization_endpoint"https://protocolsoup.com/oidc/authorize"authorization_endpoint REQUIRED. URL of the OP's OAuth 2.0 Authorization Endpoint [OpenID.Core]. This URL MUST use the https scheme and MAY contain port, path, and query parameter components.
token_endpoint"https://protocolsoup.com/oidc/token"token_endpoint URL of the OP's OAuth 2.0 Token Endpoint [OpenID.Core]. This is REQUIRED unless only the Implicit Flow is used. This URL MUST use the https scheme and MAY contain port, path, and query parameter components.
userinfo_endpoint"https://protocolsoup.com/oidc/userinfo"userinfo_endpoint RECOMMENDED. URL of the OP's UserInfo Endpoint [OpenID.Core]. This URL MUST use the https scheme and MAY contain port, path, and query parameter components.
jwks_uri"https://protocolsoup.com/oidc/.well-known/jwks.json"jwks_uri REQUIRED. URL of the OP's JWK Set [JWK] document, which MUST use the https scheme. This contains the signing key(s) the RP uses to validate signatures from the OP. The JWK Set MAY also contain the Server's encryption key(s), which are used by RPs to encrypt requests to the Server. When both signing and encryption keys are made available, a use (public key use) parameter value is REQUIRED for all keys in the referenced JWK Set to indicate each key's intended usage. Although some algorithms allow the same key to be used for both signatures and encryption, doing so is NOT RECOMMENDED, as it is less secure. The JWK x5c parameter MAY be used to provide X.509 representations of keys provided. When used, the bare key values MUST still be present and MUST match those in the certificate. The JWK Set MUST NOT contain private or symmetric key values.
registration_endpoint"https://protocolsoup.com/oidc/register"registration_endpoint RECOMMENDED. URL of the OP's Dynamic Client Registration Endpoint [OpenID.Registration], which MUST use the https scheme.
OpenID Connect Discovery 1.0 Section 3
Present because Dynamic Client Registration is enabled on this deployment.
revocation_endpoint"https://protocolsoup.com/oauth2/revoke"revocation_endpoint OPTIONAL. URL of the authorization server's OAuth 2.0 revocation endpoint [RFC7009].
introspection_endpoint"https://protocolsoup.com/oauth2/introspect"introspection_endpoint OPTIONAL. URL of the authorization server's OAuth 2.0 introspection endpoint [RFC7662].
scopes_supported["openid","profile","email","address","phone","roles","offline_access"]scopes_supported RECOMMENDED. JSON array containing a list of the OAuth 2.0 [RFC6749] scope values that this server supports. The server MUST support the openid scope value. Servers MAY choose not to advertise some supported scope values even when this parameter is used, although those defined in [OpenID.Core] SHOULD be listed, if supported.
OpenID Connect Discovery 1.0 Section 3
An Authentication Request is granted only values from this list. Any other scope value is ignored.
response_types_supported["code","token","id_token","id_token token","code id_token","code token","code id_token token"]response_types_supported REQUIRED. JSON array containing a list of the OAuth 2.0 response_type values that this OP supports. Dynamic OpenID Providers MUST support the code, id_token, and the id_token token Response Type values.
response_modes_supported["query","fragment","form_post"]response_modes_supported OPTIONAL. JSON array containing a list of the OAuth 2.0 response_mode values that this OP supports, as specified in OAuth 2.0 Multiple Response Type Encoding Practices [OAuth.Responses]. If omitted, the default for Dynamic OpenID Providers is ["query", "fragment"].
grant_types_supported["authorization_code","implicit","refresh_token"]grant_types_supported OPTIONAL. JSON array containing a list of the OAuth 2.0 Grant Type values that this OP supports. Dynamic OpenID Providers MUST support the authorization_code and implicit Grant Type values and MAY support other Grant Types. If omitted, the default value is ["authorization_code", "implicit"].
OpenID Connect Discovery 1.0 Section 3
The client_credentials and device authorization grants are served by the OAuth 2.0 issuer at /oauth2, which publishes its own metadata.
subject_types_supported["public","pairwise"]subject_types_supported REQUIRED. JSON array containing a list of the Subject Identifier types that this OP supports. Valid types include pairwise and public.
id_token_signing_alg_values_supported["RS256"]id_token_signing_alg_values_supported REQUIRED. JSON array containing a list of the JWS signing algorithms (alg values) supported by the OP for the ID Token to encode the Claims in a JWT [JWT]. The algorithm RS256 MUST be included. The value none MAY be supported but MUST NOT be used unless the Response Type used returns no ID Token from the Authorization Endpoint (such as when using the Authorization Code Flow).
userinfo_signing_alg_values_supported["RS256"]userinfo_signing_alg_values_supported OPTIONAL. JSON array containing a list of the JWS [JWS] signing algorithms (alg values) [JWA] supported by the UserInfo Endpoint to encode the Claims in a JWT [JWT]. The value none MAY be included.
request_object_signing_alg_values_supported["none","RS256"]request_object_signing_alg_values_supported OPTIONAL. JSON array containing a list of the JWS signing algorithms (alg values) supported by the OP for Request Objects, which are described in Section 6.1 of OpenID Connect Core 1.0 [OpenID.Core]. These algorithms are used both when the Request Object is passed by value (using the request parameter) and when it is passed by reference (using the request_uri parameter). Servers SHOULD support none and RS256.
OpenID Connect Discovery 1.0 Section 3
An unsigned Request Object is accepted only from a client registered with request_object_signing_alg none.
token_endpoint_auth_methods_supported["client_secret_basic","client_secret_post","private_key_jwt","none"]token_endpoint_auth_methods_supported OPTIONAL. JSON array containing a list of Client Authentication methods supported by this Token Endpoint. The options are client_secret_post, client_secret_basic, client_secret_jwt, and private_key_jwt, as described in Section 9 of OpenID Connect Core 1.0 [OpenID.Core]. Other authentication methods MAY be defined by extensions. If omitted, the default is client_secret_basic -- the HTTP Basic Authentication Scheme specified in Section 2.3.1 of OAuth 2.0 [RFC6749].
claims_supported["sub","iss","aud","exp","iat","auth_time","nonce","at_hash","c_hash","acr","amr","name","given_name","family_name","middle_name","nickname","preferred_username","profile","picture","website","gender","birthdate","zoneinfo","locale","updated_at","email","email_verified","address","phone_number","phone_number_verified","roles"]claims_supported RECOMMENDED. JSON array containing a list of the Claim Names of the Claims that the OpenID Provider MAY be able to supply values for. Note that for privacy or other reasons, this might not be an exhaustive list.
acr_values_supported["urn:protocolsoup:ac:password"]acr_values_supported OPTIONAL. JSON array containing a list of the Authentication Context Class References that this OP supports.
code_challenge_methods_supported["S256"]code_challenge_methods_supported OPTIONAL. JSON array containing a list of Proof Key for Code Exchange (PKCE) [RFC7636] code challenge methods supported by this authorization server. Code challenge method values are used in the "code_challenge_method" parameter defined in Section 4.3 of [RFC7636]. The valid code challenge method values are those registered in the IANA "PKCE Code Challenge Methods" registry [IANA.OAuth.Parameters]. If omitted, the authorization server does not support PKCE.
The authorization endpoint refuses a code_challenge sent with any other method, or with none, with invalid_request.
token_endpoint_auth_signing_alg_values_supported["RS256","ES256","EdDSA"]token_endpoint_auth_signing_alg_values_supported OPTIONAL. JSON array containing a list of the JWS signing algorithms (alg values) supported by the Token Endpoint for the signature on the JWT [JWT] used to authenticate the Client at the Token Endpoint for the private_key_jwt and client_secret_jwt authentication methods. Servers SHOULD support RS256. The value none MUST NOT be used.
revocation_endpoint_auth_methods_supported["client_secret_basic","client_secret_post","private_key_jwt","none"]revocation_endpoint_auth_methods_supported OPTIONAL. JSON array containing a list of client authentication methods supported by this revocation endpoint. The valid client authentication method values are those registered in the IANA "OAuth Token Endpoint Authentication Methods" registry [IANA.OAuth.Parameters]. If omitted, the default is "client_secret_basic" -- the HTTP Basic Authentication Scheme specified in Section 2.3.1 of OAuth 2.0 [RFC6749].
revocation_endpoint_auth_signing_alg_values_supported["RS256","ES256","EdDSA"]revocation_endpoint_auth_signing_alg_values_supported OPTIONAL. JSON array containing a list of the JWS signing algorithms ("alg" values) supported by the revocation endpoint for the signature on the JWT [JWT] used to authenticate the client at the revocation endpoint for the "private_key_jwt" and "client_secret_jwt" authentication methods. This metadata entry MUST be present if either of these authentication methods are specified in the "revocation_endpoint_auth_methods_supported" entry. No default algorithms are implied if this entry is omitted. The value "none" MUST NOT be used.
introspection_endpoint_auth_methods_supported["client_secret_basic","client_secret_post"]introspection_endpoint_auth_methods_supported OPTIONAL. JSON array containing a list of client authentication methods supported by this introspection endpoint. The valid client authentication method values are those registered in the IANA "OAuth Token Endpoint Authentication Methods" registry [IANA.OAuth.Parameters] or those registered in the IANA "OAuth Access Token Types" registry [IANA.OAuth.Parameters]. (These values are and will remain distinct, due to Section 7.2.) If omitted, the set of supported authentication methods MUST be determined by other means.
request_parameter_supportedfalserequest_parameter_supported OPTIONAL. Boolean value specifying whether the OP supports use of the request parameter, with true indicating support. If omitted, the default value is false.
OpenID Connect Discovery 1.0 Section 3
A request parameter is refused with request_not_supported.
request_uri_parameter_supportedtruerequest_uri_parameter_supported OPTIONAL. Boolean value specifying whether the OP supports use of the request_uri parameter, with true indicating support. If omitted, the default value is true.
OpenID Connect Discovery 1.0 Section 3
True because Dynamic Client Registration is enabled on this deployment.
claims_parameter_supportedtrueclaims_parameter_supported OPTIONAL. Boolean value specifying whether the OP supports use of the claims parameter, with true indicating support. If omitted, the default value is false.
authorization_response_iss_parameter_supportedtrueauthorization_response_iss_parameter_supported: Boolean parameter indicating whether the authorization server provides the iss parameter in the authorization response as defined in Section 2. If omitted, the default value is false.
How it was verified
Issuer checked when captured
The capture run checked that the document's issuer member is exactly https://protocolsoup.com, the issuer identifier the request URL was built from, and that the request went to that issuer's own host. The document is not signed, so there is no signature to verify.
The exchanges that carried it
The conformance client requests the OpenID Provider's configuration the way a Relying Party does: it appends /.well-known/openid-configuration to the Issuer and sends a GET (OpenID Connect Discovery 1.0 Section 4.1). The body of the response is the document.
Requests sent by ProtocolSoup’s conformance client.
Every token in these exchanges was revoked, or had expired, before this page published them.
1.GET https://protocolsoup.com/.well-known/openid-configuration200 OK
TLS: TLS 1.3 · TLS_AES_128_GCM_SHA256 · h2
Request
GET /.well-known/openid-configuration HTTP/2.0 Accept: application/json Host: protocolsoup.com User-Agent: ProtocolSoup-Conformance-Client/1
Response
HTTP/2.0 200 OK Cache-Control: public, max-age=3600 Cf-Cache-Status: DYNAMIC Cf-Ray: a60109663f2f16a7-IAD Content-Type: application/json Date: Wed, 25 Nov 2026 13:35:27 GMT Fly-Request-Id: 01M89EP6ZFEDYFCNCV24DBB337-iad Nel: {"report_to":"cf-nel","success_fraction":0.0,"max_age":604800} Referrer-Policy: strict-origin-when-cross-origin Report-To: {"group":"cf-nel","max_age":604800,"endpoints":[{"url":"https://a.nel.cloudflare.com/report/v4?s=%2FEeS%2B%2FdaAw8rXBZ1peuyGwRxxwZ5ZKglgDF4CTO34S9uyjr7IgNtZTGDpQDHGaRxQQCUasjia5zj4MIP%2FAI73evt1xZySCx4tQSvszjcoLxTV2ockvgHu29ZWVnVIXqDjZE%3D"}]} Server: cloudflare Speculation-Rules: "/cdn-cgi/speculation" Vary: Origin Vary: accept-encoding Via: 1.1 fly.io, 1.1 fly.io X-Content-Type-Options: nosniff X-Frame-Options: DENY X-Xss-Protection: 1; mode=block {"issuer":"https://protocolsoup.com","authorization_endpoint":"https://protocolsoup.com/oidc/authorize","token_endpoint":"https://protocolsoup.com/oidc/token","userinfo_endpoint":"https://protocolsoup.com/oidc/userinfo","jwks_uri":"https://protocolsoup.com/oidc/.well-known/jwks.json","registration_endpoint":"https://protocolsoup.com/oidc/register","revocation_endpoint":"https://protocolsoup.com/oauth2/revoke","introspection_endpoint":"https://protocolsoup.com/oauth2/introspect","scopes_supported":["openid","profile","email","address","phone","roles","offline_access"],"response_types_supported":["code","token","id_token","id_token token","code id_token","code token","code id_token token"],"response_modes_supported":["query","fragment","form_post"],"grant_types_supported":["authorization_code","implicit","refresh_token"],"subject_types_supported":["public","pairwise"],"id_token_signing_alg_values_supported":["RS256"],"userinfo_signing_alg_values_supported":["RS256"],"request_object_signing_alg_values_supported":["none","RS256"],"token_endpoint_auth_methods_supported":["client_secret_basic","client_secret_post","private_key_jwt","none"],"claims_supported":["sub","iss","aud","exp","iat","auth_time","nonce","at_hash","c_hash","acr","amr","name","given_name","family_name","middle_name","nickname","preferred_username","profile","picture","website","gender","birthdate","zoneinfo","locale","updated_at","email","email_verified","address","phone_number","phone_number_verified","roles"],"acr_values_supported":["urn:protocolsoup:ac:password"],"code_challenge_methods_supported":["S256"],"token_endpoint_auth_signing_alg_values_supported":["RS256","ES256","EdDSA"],"revocation_endpoint_auth_methods_supported":["client_secret_basic","client_secret_post","private_key_jwt","none"],"revocation_endpoint_auth_signing_alg_values_supported":["RS256","ES256","EdDSA"],"introspection_endpoint_auth_methods_supported":["client_secret_basic","client_secret_post"],"request_parameter_supported":false,"request_uri_parameter_supported":true,"claims_parameter_supported":true,"authorization_response_iss_parameter_supported":true}
Run it live
Looking Glass runs the flow that produces this message against the same server and decodes it as it happens.
Open the flow in Looking Glass