---
search:
  tags:
    - OAuthProviderWellKnown
    - GET
seo:
  description: >-
    RFC 8414 metadata describing the authorization and token… Reference for the
    GET /.well-known/oauth-authorization-server endpoint in the varsafe API.
sidebar:
  label: OAuth 2.1 authorization server metadata
  badge: GET
title: OAuth 2.1 authorization server metadata
type: openapi-operation
---
RFC 8414 metadata describing the authorization and token endpoints, supported grant types and the scope vocabulary used by the MCP endpoint.

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

**Responses**

- `200` — RFC 8414 authorization server metadata.
- `400` — The request failed validation. \`field\` names the offending input.
- `404` — The resource does not exist, or is not visible to this credential.
- `429` — Rate limited. Retry after the interval named in the response.
- `500` — Unexpected server error. The body never carries internal detail.

Response example, 200:

```json
{
  "issuer": "http://example.com",
  "authorization_endpoint": "http://example.com",
  "token_endpoint": "http://example.com",
  "registration_endpoint": "http://example.com",
  "scopes_supported": [
    "string"
  ],
  "response_types_supported": [
    "string"
  ],
  "grant_types_supported": [
    "string"
  ],
  "code_challenge_methods_supported": [
    "string"
  ],
  "property1": null,
  "property2": null
}
```
