---
search:
  tags:
    - OAuth
    - GET
seo:
  description: >-
    OAuth authorization server metadata. Reference for the GET
    /.well-known/oauth-authorization-server endpoint in the agentsub Gateway
    API.
sidebar:
  label: OAuth authorization server metadata
  badge: GET
title: OAuth authorization server metadata
type: openapi-operation
---
`GET /.well-known/oauth-authorization-server`

**Responses**

- `200` — RFC 8414 metadata

Response example, 200:

```json
{
  "issuer": "http://example.com",
  "authorization_endpoint": "string",
  "token_endpoint": "string",
  "registration_endpoint": "string",
  "response_types_supported": [
    "code"
  ],
  "grant_types_supported": [
    "authorization_code"
  ],
  "code_challenge_methods_supported": [
    "S256"
  ],
  "token_endpoint_auth_methods_supported": [
    "none"
  ],
  "scopes_supported": [
    "agentsub:agent"
  ],
  "authorization_response_iss_parameter_supported": true
}
```
