OAuth 2.0 Authorization Server Metadata
Demo · format-valid IANA · permanent
/.well-known/oauth-authorization-server
Standard: RFC 8414
OAuth's RFC 8414 metadata document — same idea as OIDC discovery, for plain OAuth 2.0.
What it is
RFC 8414 lets an OAuth authorization server describe itself at /.well-known/oauth-authorization-server: issuer, authorization and token endpoints, JWKS, supported grants, PKCE support. OIDC discovery builds on the same metadata shape.
The threat it addresses
OAuth clients need a reliable way to learn an AS's endpoints and policies, and to detect mixed/confused issuer situations. Structured metadata makes configuration explicit and machine-checkable instead of copied into client code.
How it works
- A client fetches <issuer>/.well-known/oauth-authorization-server.
- The document's issuer value must match the origin the client requested — clients MUST reject mismatches (this is the core anti-confusion check).
- OIDC discovery (/.well-known/openid-configuration) is a superset of the same document with OIDC-specific fields.
Try it
Live demo
Format-valid demo metadata for a demo issuer
{
"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"
],
"grant_types_supported": [
"authorization_code"
],
"token_endpoint_auth_methods_supported": [
"client_secret_basic"
],
"code_challenge_methods_supported": [
"S256"
],
"_demo_note": "RFC 8414 authorization server metadata for well-known.page (demo issuer)."
}