OAuth/MCP discovery metadata (delegated to better-auth)
Returns the RFC 8414 authorization-server metadata document for the Charming auth surface. Consumed by MCP clients during the OAuth handshake. The base payload shape is owned by better-auth; Charming splices a WorkOS-style agent_auth extension block carrying register_uri (/api/pair/start), claim_uri (/app/{id}/claim), revocation_uri (/api/token/{id}), skill (https://usecharming.com/auth.md), identity_types_supported (["anonymous"]), and an anonymous sibling block.
GET
/.well-known/oauth-authorization-serverResponses
200OAuth authorization-server discovery JSON.
objectRequest
curl -X GET "https://charm.ing/.well-known/oauth-authorization-server"const response = await fetch("https://charm.ing/.well-known/oauth-authorization-server", {
method: "GET"
});import requests
response = requests.get(
"https://charm.ing/.well-known/oauth-authorization-server",
)Response
{}