Skip to main content

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_endpoint and no registration_endpoint. Logins and client registration belong to your IdP; Agentic Auth issues tokens by exchange only.
  • scopes_supported is 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_endpoint appears 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's issuer to equal the tokens' iss. Switching to an https issuer changes iss in 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:

CodeBlocks?Meaning
DECLARED_EXCEEDS_AUTHORIZATION_SERVERYes, rejectedA declared data class that authorization server does not list in scopes_supported: nobody could be issued that capability
AUTHORIZATION_SERVER_UNAVAILABLEYes, needs reviewIts metadata could not be fetched. Resubmit once it is up, or override with a recorded reason
AUTHORIZATION_SERVER_CHECK_SKIPPEDNoThe MCP server names no authorization server, or that server publishes no scopes_supported. Only the server's own advertisement was checked