---
title: "Authorization Server Metadata"
method: GET
path: "/.well-known/oauth-authorization-server"
tags: ["OAuth"]
---

# Authorization Server Metadata

`GET /.well-known/oauth-authorization-server`

## Request

- Base URL: `https://api.purplegrain.com`
- URL: `https://api.purplegrain.com/.well-known/oauth-authorization-server`
- Auth: none declared

**RFC 8414** discovery document. Unauthenticated. Lets MCP/OAuth clients
bootstrap the auth flow with no manual configuration — it advertises the
authorization, token, registration, introspection, and revocation
endpoints plus supported grant types, scopes, and PKCE methods.

## Response `200`

Authorization server metadata.

- OAuthServerMetadata: OAuth 2.0 Authorization Server Metadata (RFC 8414). Endpoints use the configured MCP resource origin.
  - `issuer` string, uri
  - `authorization_endpoint` string, uri: May live on a different origin than the issuer (the frontend hosts the interactive consent screen, since sessions are disabled on the API).
  - `token_endpoint` string, uri
  - `registration_endpoint` string, uri
  - `introspection_endpoint` string, uri
  - `revocation_endpoint` string, uri
  - `scopes_supported` string[]
  - `response_types_supported` string[]
  - `grant_types_supported` string[]
  - `token_endpoint_auth_methods_supported` string[]
  - `code_challenge_methods_supported` string[]

---

[API](https://skmtc.dev/purplegrain/apis/purple-grain-api.md) · [All operations](https://skmtc.dev/purplegrain/apis/purple-grain-api/llms.txt) · [OpenAPI document](https://skmtc.dev/purplegrain/apis/purple-grain-api/revisions/06540345bbbc?raw)
