Herald
OpenapiOauth

RFC 8414 Authorization Server metadata for the per-realm OAuth issuer behind the MCP resource. Served at the standard path-style well-known insertion (well-known between host and issuer path); the legacy OIDC append-form discovery URL keeps working unchanged.

GET
/.well-known/oauth-authorization-server/api/oauth/{realmId}

Path Parameters

realmId*string

Realm ID

Response Body

OAuth Authorization Server metadata for the realm

application/json
  1. response
authorization_endpoint*string
code_challenge_methods_supported*array<string>
grant_types_supported*array<string>
issuer*string
registration_endpoint*string

RFC 7591 dynamic client registration entry (DEC-mcp-server-007): the gated pass-through endpoint that hands out the preset public MCP client. Mainstream MCP clients (Claude Code, VS Code) treat a missing registration_endpoint as a hard incompatibility.

response_types_supported*array<string>
scopes_supported*array<string>
token_endpoint*string
token_endpoint_auth_methods_supported*array<string>
Example Request
curl -X GET 'https://example.com/.well-known/oauth-authorization-server/api/oauth/string'
Example Response
{
  "authorization_endpoint": "string",
  "code_challenge_methods_supported": [
    "string"
  ],
  "grant_types_supported": [
    "string"
  ],
  "issuer": "string",
  "registration_endpoint": "string",
  "response_types_supported": [
    "string"
  ],
  "scopes_supported": [
    "string"
  ],
  "token_endpoint": "string",
  "token_endpoint_auth_methods_supported": [
    "string"
  ]
}