OAuth protected-resource metadata (delegated to better-auth)
Returns the RFC 9728 protected-resource metadata for the Charming API origin. Read by clients that treat the origin as the protected resource; a client asking about one MCP surface reads the path-scoped document under this path instead, which is what that surface names in its 401 WWW-Authenticate header.
GET
/.well-known/oauth-protected-resourceResponses
200OAuth protected-resource discovery JSON.
objectTry it
Server
Request
curl -X GET "https://charm.ing/.well-known/oauth-protected-resource"const response = await fetch("https://charm.ing/.well-known/oauth-protected-resource", {
method: "GET"
});import requests
response = requests.get(
"https://charm.ing/.well-known/oauth-protected-resource",
)Response
{}