What does OAuth 2.0 authorization server metadata look like?

Authorization server metadata is the JSON document an OAuth 2.0 authorization server publishes at /.well-known/oauth-authorization-server. It names the server's endpoints and capabilities, so a client can learn how to interact with it (RFC 8414 Sections 2 and 3).

OAuth 2.0 authorization server metadata documentJSON document

A real OAuth 2.0 authorization server metadata document

Issued Commit 477f404

Captured from the deployed ProtocolSoup at the commit shown. The message is shown exactly as it was sent.

{"agent_auth":{"anonymous":{"claim_uri":"https://protocolsoup.com/agentauth/identity/claim","credential_types_supported":["urn:ietf:params:oauth:token-type:access_token"],"scopes_after_claim":["agent:read","agent:write"],"scopes_before_claim":["agent:read"]},"claim_endpoint":"https://protocolsoup.com/agentauth/identity/claim","claim_uri":"https://protocolsoup.com/agentauth/identity/claim","events_supported":["https://schemas.workos.com/events/agent/auth/identity/assertion/revoked"],"grant_types_supported":["urn:ietf:params:oauth:grant-type:jwt-bearer","urn:workos:agent-auth:grant-type:claim"],"identity_endpoint":"https://protocolsoup.com/agentauth/identity","identity_types_supported":["anonymous"],"register_uri":"https://protocolsoup.com/agentauth/identity","revocation_uri":"https://protocolsoup.com/agentauth/revoke","skill":"https://protocolsoup.com/auth.md","token_endpoint":"https://protocolsoup.com/agentauth/token","verification_uri":"https://protocolsoup.com/agentauth/claim"},"authorization_endpoint":"https://protocolsoup.com/oidc/authorize","authorization_response_iss_parameter_supported":true,"code_challenge_methods_supported":["S256"],"grant_types_supported":["authorization_code","implicit","refresh_token"],"introspection_endpoint":"https://protocolsoup.com/oauth2/introspect","introspection_endpoint_auth_methods_supported":["client_secret_basic","client_secret_post"],"issuer":"https://protocolsoup.com","jwks_uri":"https://protocolsoup.com/oidc/.well-known/jwks.json","registration_endpoint":"https://protocolsoup.com/oidc/register","response_modes_supported":["query","fragment","form_post"],"response_types_supported":["code","token","id_token","id_token token","code id_token","code token","code id_token token"],"revocation_endpoint":"https://protocolsoup.com/oauth2/revoke","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"],"scopes_supported":["openid","profile","email","address","phone","roles","offline_access"],"service_documentation":"https://protocolsoup.com/auth.md","token_endpoint":"https://protocolsoup.com/oidc/token","token_endpoint_auth_methods_supported":["client_secret_basic","client_secret_post","private_key_jwt","none"],"token_endpoint_auth_signing_alg_values_supported":["RS256","ES256","EdDSA"],"userinfo_endpoint":"https://protocolsoup.com/oidc/userinfo"}

Taken from the body, in the response of exchange 1 below.

Every field, with the specification text that defines it

JSON document, indented

{
  "agent_auth": {
    "anonymous": {
      "claim_uri": "https://protocolsoup.com/agentauth/identity/claim",
      "credential_types_supported": [
        "urn:ietf:params:oauth:token-type:access_token"
      ],
      "scopes_after_claim": [
        "agent:read",
        "agent:write"
      ],
      "scopes_before_claim": [
        "agent:read"
      ]
    },
    "claim_endpoint": "https://protocolsoup.com/agentauth/identity/claim",
    "claim_uri": "https://protocolsoup.com/agentauth/identity/claim",
    "events_supported": [
      "https://schemas.workos.com/events/agent/auth/identity/assertion/revoked"
    ],
    "grant_types_supported": [
      "urn:ietf:params:oauth:grant-type:jwt-bearer",
      "urn:workos:agent-auth:grant-type:claim"
    ],
    "identity_endpoint": "https://protocolsoup.com/agentauth/identity",
    "identity_types_supported": [
      "anonymous"
    ],
    "register_uri": "https://protocolsoup.com/agentauth/identity",
    "revocation_uri": "https://protocolsoup.com/agentauth/revoke",
    "skill": "https://protocolsoup.com/auth.md",
    "token_endpoint": "https://protocolsoup.com/agentauth/token",
    "verification_uri": "https://protocolsoup.com/agentauth/claim"
  },
  "authorization_endpoint": "https://protocolsoup.com/oidc/authorize",
  "authorization_response_iss_parameter_supported": true,
  "code_challenge_methods_supported": [
    "S256"
  ],
  "grant_types_supported": [
    "authorization_code",
    "implicit",
    "refresh_token"
  ],
  "introspection_endpoint": "https://protocolsoup.com/oauth2/introspect",
  "introspection_endpoint_auth_methods_supported": [
    "client_secret_basic",
    "client_secret_post"
  ],
  "issuer": "https://protocolsoup.com",
  "jwks_uri": "https://protocolsoup.com/oidc/.well-known/jwks.json",
  "registration_endpoint": "https://protocolsoup.com/oidc/register",
  "response_modes_supported": [
    "query",
    "fragment",
    "form_post"
  ],
  "response_types_supported": [
    "code",
    "token",
    "id_token",
    "id_token token",
    "code id_token",
    "code token",
    "code id_token token"
  ],
  "revocation_endpoint": "https://protocolsoup.com/oauth2/revoke",
  "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"
  ],
  "scopes_supported": [
    "openid",
    "profile",
    "email",
    "address",
    "phone",
    "roles",
    "offline_access"
  ],
  "service_documentation": "https://protocolsoup.com/auth.md",
  "token_endpoint": "https://protocolsoup.com/oidc/token",
  "token_endpoint_auth_methods_supported": [
    "client_secret_basic",
    "client_secret_post",
    "private_key_jwt",
    "none"
  ],
  "token_endpoint_auth_signing_alg_values_supported": [
    "RS256",
    "ES256",
    "EdDSA"
  ],
  "userinfo_endpoint": "https://protocolsoup.com/oidc/userinfo"
}
  • agent_auth{"anonymous":{"claim_uri":"https://protocolsoup.com/agentauth/identity/claim","credential_types_supported":["urn:ietf:params:oauth:token-type:access_token"],"scopes_after_claim":["agent:read","agent:write"],"scopes_before_claim":["agent:read"]},"claim_endpoint":"https://protocolsoup.com/agentauth/identity/claim","claim_uri":"https://protocolsoup.com/agentauth/identity/claim","events_supported":["https://schemas.workos.com/events/agent/auth/identity/assertion/revoked"],"grant_types_supported":["urn:ietf:params:oauth:grant-type:jwt-bearer","urn:workos:agent-auth:grant-type:claim"],"identity_endpoint":"https://protocolsoup.com/agentauth/identity","identity_types_supported":["anonymous"],"register_uri":"https://protocolsoup.com/agentauth/identity","revocation_uri":"https://protocolsoup.com/agentauth/revoke","skill":"https://protocolsoup.com/auth.md","token_endpoint":"https://protocolsoup.com/agentauth/token","verification_uri":"https://protocolsoup.com/agentauth/claim"}

    The agent_auth block is the profile extension carrying the registration and claim surface.

    auth.md profile, Discovery

    RFC 8414 Section 2 permits members it does not define: "Additional authorization server metadata parameters MAY also be used."

  • authorization_endpoint"https://protocolsoup.com/oidc/authorize"

    authorization_endpoint URL of the authorization server's authorization endpoint [RFC6749]. This is REQUIRED unless no grant types are supported that use the authorization endpoint.

    RFC 8414 Section 2

  • authorization_response_iss_parameter_supportedtrue

    authorization_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.

    RFC 9207 Section 3

  • 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.

    RFC 8414 Section 2

    The authorization endpoint refuses a code_challenge sent with any other method, or with none, with invalid_request.

  • 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 authorization server supports. The array values used are the same as those used with the "grant_types" parameter defined by "OAuth 2.0 Dynamic Client Registration Protocol" [RFC7591]. If omitted, the default value is "["authorization_code", "implicit"]".

    RFC 8414 Section 2

    The client_credentials and device authorization grants are served by the OAuth 2.0 issuer at /oauth2, which publishes its own metadata.

  • introspection_endpoint"https://protocolsoup.com/oauth2/introspect"

    introspection_endpoint OPTIONAL. URL of the authorization server's OAuth 2.0 introspection endpoint [RFC7662].

    RFC 8414 Section 2

  • 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.

    RFC 8414 Section 2

  • issuer"https://protocolsoup.com"

    issuer REQUIRED. The authorization server's issuer identifier, which is a URL that uses the "https" scheme and has no query or fragment components. Authorization server metadata is published at a location that is ".well-known" according to RFC 5785 [RFC5785] derived from this issuer identifier, as described in Section 3. The issuer identifier is used to prevent authorization server mix-up attacks, as described in "OAuth 2.0 Mix-Up Mitigation" [MIX-UP].

    RFC 8414 Section 2

  • jwks_uri"https://protocolsoup.com/oidc/.well-known/jwks.json"

    jwks_uri OPTIONAL. URL of the authorization server's JWK Set [JWK] document. The referenced document contains the signing key(s) the client uses to validate signatures from the authorization server. This URL MUST use the "https" scheme. The JWK Set MAY also contain the server's encryption key or keys, which are used by clients 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.

    RFC 8414 Section 2

  • registration_endpoint"https://protocolsoup.com/oidc/register"

    registration_endpoint OPTIONAL. URL of the authorization server's OAuth 2.0 Dynamic Client Registration endpoint [RFC7591].

    RFC 8414 Section 2

    Present because Dynamic Client Registration is enabled on this deployment.

  • 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 authorization server supports, as specified in "OAuth 2.0 Multiple Response Type Encoding Practices" [OAuth.Responses]. If omitted, the default is "["query", "fragment"]". The response mode value "form_post" is also defined in "OAuth 2.0 Form Post Response Mode" [OAuth.Post].

    RFC 8414 Section 2

  • 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 authorization server supports. The array values used are the same as those used with the "response_types" parameter defined by "OAuth 2.0 Dynamic Client Registration Protocol" [RFC7591].

    RFC 8414 Section 2

  • revocation_endpoint"https://protocolsoup.com/oauth2/revoke"

    revocation_endpoint OPTIONAL. URL of the authorization server's OAuth 2.0 revocation endpoint [RFC7009].

    RFC 8414 Section 2

  • 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].

    RFC 8414 Section 2

  • 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.

    RFC 8414 Section 2

  • 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 authorization server supports. Servers MAY choose not to advertise some supported scope values even when this parameter is used.

    RFC 8414 Section 2

  • service_documentation"https://protocolsoup.com/auth.md"

    service_documentation OPTIONAL. URL of a page containing human-readable information that developers might want or need to know when using the authorization server. In particular, if the authorization server does not support Dynamic Client Registration, then information on how to register clients needs to be provided in this documentation.

    RFC 8414 Section 2

  • token_endpoint"https://protocolsoup.com/oidc/token"

    token_endpoint URL of the authorization server's token endpoint [RFC6749]. This is REQUIRED unless only the implicit grant type is supported.

    RFC 8414 Section 2

  • 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. Client authentication method values are used in the "token_endpoint_auth_method" parameter defined in Section 2 of [RFC7591]. If omitted, the default is "client_secret_basic" -- the HTTP Basic Authentication Scheme specified in Section 2.3.1 of OAuth 2.0 [RFC6749].

    RFC 8414 Section 2

  • 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. This metadata entry MUST be present if either of these authentication methods are specified in the "token_endpoint_auth_methods_supported" entry. No default algorithms are implied if this entry is omitted. Servers SHOULD support "RS256". The value "none" MUST NOT be used.

    RFC 8414 Section 2

  • 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.

    OpenID Connect Discovery 1.0 Section 3

    This issuer is also an OpenID Provider, so its OAuth 2.0 metadata names the UserInfo Endpoint as well.

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 authorization server's metadata the way an OAuth 2.0 client does: it inserts /.well-known/oauth-authorization-server after the host of the issuer identifier and sends a GET (RFC 8414 Section 3.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. 1.GET https://protocolsoup.com/.well-known/oauth-authorization-server200 OK

    TLS: TLS 1.3 · TLS_AES_128_GCM_SHA256 · h2

    Request

    GET /.well-known/oauth-authorization-server 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: a601096c7e9f16a7-IAD
    Content-Type: application/json
    Date: Wed, 25 Nov 2026 13:35:28 GMT
    Fly-Request-Id: 01M89EP7YJ3928YF0JGDS1Y5FN-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=i45kbHteOQPfDbTHIlqq9BWwDQlQHNFSX5QmXf4pPVKl2VZKqKGkHHJ79TOgyQdd0EYEjuoZVUoMruQAEZo6Z%2Br9oh%2FrBHJJMeQ0Nk3OiTb%2F42zNmd%2FMzo2S52j44bFJev0%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
    
    {"agent_auth":{"anonymous":{"claim_uri":"https://protocolsoup.com/agentauth/identity/claim","credential_types_supported":["urn:ietf:params:oauth:token-type:access_token"],"scopes_after_claim":["agent:read","agent:write"],"scopes_before_claim":["agent:read"]},"claim_endpoint":"https://protocolsoup.com/agentauth/identity/claim","claim_uri":"https://protocolsoup.com/agentauth/identity/claim","events_supported":["https://schemas.workos.com/events/agent/auth/identity/assertion/revoked"],"grant_types_supported":["urn:ietf:params:oauth:grant-type:jwt-bearer","urn:workos:agent-auth:grant-type:claim"],"identity_endpoint":"https://protocolsoup.com/agentauth/identity","identity_types_supported":["anonymous"],"register_uri":"https://protocolsoup.com/agentauth/identity","revocation_uri":"https://protocolsoup.com/agentauth/revoke","skill":"https://protocolsoup.com/auth.md","token_endpoint":"https://protocolsoup.com/agentauth/token","verification_uri":"https://protocolsoup.com/agentauth/claim"},"authorization_endpoint":"https://protocolsoup.com/oidc/authorize","authorization_response_iss_parameter_supported":true,"code_challenge_methods_supported":["S256"],"grant_types_supported":["authorization_code","implicit","refresh_token"],"introspection_endpoint":"https://protocolsoup.com/oauth2/introspect","introspection_endpoint_auth_methods_supported":["client_secret_basic","client_secret_post"],"issuer":"https://protocolsoup.com","jwks_uri":"https://protocolsoup.com/oidc/.well-known/jwks.json","registration_endpoint":"https://protocolsoup.com/oidc/register","response_modes_supported":["query","fragment","form_post"],"response_types_supported":["code","token","id_token","id_token token","code id_token","code token","code id_token token"],"revocation_endpoint":"https://protocolsoup.com/oauth2/revoke","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"],"scopes_supported":["openid","profile","email","address","phone","roles","offline_access"],"service_documentation":"https://protocolsoup.com/auth.md","token_endpoint":"https://protocolsoup.com/oidc/token","token_endpoint_auth_methods_supported":["client_secret_basic","client_secret_post","private_key_jwt","none"],"token_endpoint_auth_signing_alg_values_supported":["RS256","ES256","EdDSA"],"userinfo_endpoint":"https://protocolsoup.com/oidc/userinfo"}