---
title: "Get OAuth2 authorization server metadata"
method: GET
path: "/.well-known/oauth-authorization-server"
tags: ["oauth"]
---

# Get OAuth2 authorization server metadata

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

Returns OAuth2 authorization server metadata per RFC 8414, including supported endpoints, grant types, and response types.

## Response `200`

OK

- OauthAuthorizationServerMetadata
  - `authorization_endpoint` string
  - `code_challenge_methods_supported` string[]
  - `device_authorization_endpoint` string
  - `grant_types_supported` string[]
  - `issuer` string
  - `jwks_uri` string
  - `protected_resources_supported` string[]
  - `registration_endpoint` string
  - `resource_parameter_supported` boolean
  - `response_types_supported` string[]
  - `revocation_endpoint` string
  - `scopes_supported` string[]
  - `token_endpoint` string
  - `token_endpoint_auth_methods_supported` string[]

## Other responses

- `500` — Internal Server Error

---

[API](https://skmtc.net/langchain-ai/apis/langsmith.md) · [All operations](https://skmtc.net/langchain-ai/apis/langsmith/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/langchain-ai/langsmith/revisions/a0acb3a6a101/schema)
