---
title: "OAuth discovery metadata"
method: GET
path: "/.well-known/{document}"
tags: ["ApiDocsOAuthMetadata"]
---

# OAuth discovery metadata

`GET /.well-known/{document}`

## Request

- Base URL: `https://developers.chatway.app`
- URL: `https://developers.chatway.app/.well-known/{document}`
- Auth: none required

OAuth discovery metadata tells an MCP client where to begin sign-in and which authorization features the server supports. It is intended for client software; most users should follow [Connect clients](https://developers.chatway.app/mcp/guides.mcp_connect_clients) instead. Reading metadata does not authorize the client or return an access token.

For the MCP connection, start with the protected-resource metadata at https://mcp.chatway.app/.well-known/oauth-protected-resource/mcp and follow its authorization-server link. The authorization-server metadata is at https://mcp.chatway.app/.well-known/oauth-authorization-server.

## Path parameters

- `document` 'oauth-authorization-server' | 'oauth-protected-resource', required

## Response `200`

- union
  - object
    - `issuer` string, required
    - `authorization_endpoint` string, required
    - `token_endpoint` string, required
    - `registration_endpoint` string, required
    - `response_types_supported` unknown[], required
      - unknown
    - `code_challenge_methods_supported` unknown[], required
      - unknown
    - `scopes_supported` unknown[], required
      - unknown
    - `grant_types_supported` unknown[], required
      - unknown
    - `service_documentation` string, required
  - object
    - `resource` string, required
    - `resource_name` 'Chatway', required
    - `resource_documentation` string, required
    - `authorization_servers` unknown[], required
      - unknown
    - `scopes_supported` unknown[], required
      - unknown
    - `bearer_methods_supported` unknown[], required
      - unknown

---

[API](https://skmtc.dev/chatway/apis/chatway-developer-docs.md) · [All operations](https://skmtc.dev/chatway/apis/chatway-developer-docs/llms.txt) · [OpenAPI document](https://skmtc.dev/chatway/apis/chatway-developer-docs/revisions/ca1a1da291cc?raw)
