OAuth authorization-server metadata for the ChatGPT MCP surface
Returns the RFC 8414 authorization-server metadata for the /mcp/chatgpt surface, at the path-inserted well-known URL a client derives from an issuer carrying that path. Reached only when that surface's protected-resource document names the surface as its own authorization server, which CHARMING__SERVER__CHATGPT_AUTH_PROXY_ADVERTISED decides. The same switch decides whether this document is served, so the pointer and its target appear together: while it is off nothing names this URL and asking for it answers 404. Differs from the origin-wide document in issuer, which claims the surface, and in authorization_endpoint, which names the marketing-site login proxy while the switch is on. Token, registration, and JWKS endpoints stay on this origin.
Request
- Base URL: https://charm.ing
- URL: https://charm.ing/.well-known/oauth-authorization-server/mcp/chatgpt
- Auth: none declared
Response
OAuth authorization-server discovery JSON scoped to /mcp/chatgpt.
RFC 8414 authorization-server metadata (issuer, authorization_endpoint, token_endpoint, jwks_uri, …) plus the Charming agent_auth extension. Base schema is delegated to better-auth; issuer and authorization_endpoint are overridden.
Changes
No recorded changes to this operation across all 1 revision of this API.