Authorization server metadata
GET /.well-known/oauth-authorization-server
The control plane's RFC 8414 metadata. Unauthenticated, cacheable for five minutes, and
404 unless AGENTIC_AUTH_AS_METADATA_ENABLED=true. Available from 0.4.0.
{
"issuer": "https://authz.example.com",
"token_endpoint": "https://authz.example.com/v1/token/exchange",
"jwks_uri": "https://authz.example.com/.well-known/jwks.json",
"grant_types_supported": ["urn:ietf:params:oauth:grant-type:token-exchange"],
"token_endpoint_auth_methods_supported": ["none"],
"scopes_supported": ["account.read", "kb.internal", "kb.public"],
"agentic_auth_consent_endpoint": "https://authz.example.com/v1/consent",
"agentic_auth_transaction_endpoint": "https://authz.example.com/v1/token/transaction"
}
- There is no
authorization_endpointand noregistration_endpoint. Logins and client registration belong to your IdP; Agentic Auth issues tokens by exchange only. scopes_supportedis every data class a current policy declares: an OAuth scope is a data class name, the same vocabulary as the token exchange.agentic_auth_transaction_endpointappears only when transaction tokens are enabled.- Every URL is built from
AGENTIC_AUTH_ISSUER, which must be an https URL for this setting, because RFC 8414 requires the metadata'sissuerto equal the tokens'iss. Switching to an https issuer changesissin new tokens: update any offline verifier pinned to the old one first.
The same setting, at registration
With AGENTIC_AUTH_AS_METADATA_ENABLED on, reconciliation also follows each MCP server's
authorization_servers to that server's own metadata, and adds these diff codes:
| Code | Blocks? | Meaning |
|---|---|---|
DECLARED_EXCEEDS_AUTHORIZATION_SERVER | Yes, rejected | A declared data class that authorization server does not list in scopes_supported: nobody could be issued that capability |
AUTHORIZATION_SERVER_UNAVAILABLE | Yes, needs review | Its metadata could not be fetched. Resubmit once it is up, or override with a recorded reason |
AUTHORIZATION_SERVER_CHECK_SKIPPED | No | The MCP server names no authorization server, or that server publishes no scopes_supported. Only the server's own advertisement was checked |