---
search:
  tags:
    - Operations
    - GET
seo:
  description: >-
    Returns the RFC 8414 authorization-server metadata document… Reference for
    the GET /.well-known/oauth-authorization-server endpoint in the Charming API
    API.
sidebar:
  badge: GET
  label: OAuth/MCP discovery metadata (delegated to better-auth)
title: OAuth/MCP discovery metadata (delegated to better-auth)
type: openapi-operation
---
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://charm.ing/docs/technical-reference/authentication.md`), `identity_types_supported` (`["anonymous"]`), and an `anonymous` sibling block with `credential_types_supported` (`["api_key"]`).

<Operation source="reference" id="get-oauth-authorization-server" />

Found a bug or need a feature? [Tell us](/docs/capabilities/feedback) with `submit_feedback` or `POST /app/{id}/feedback`. Your feedback shapes what we build next.
