RFC 9728 standardizes how APIs declare their OAuth authorization servers and supported scopes at /.well-known/oauth-protected-resource, removing manual client credentials configuration for AI agents.
1. Implementing /.well-known/oauth-protected-resource
The protected resource document declares:
resource: The canonical URI of the protected resource API.authorization_servers: An array of OAuth 2.0 / OIDC issuer URLs where the agent can acquire access tokens.scopes_supported: The list of valid OAuth scopes for machine interaction.
