---
title: "Handler for OAuth 2.0 Authorization Server Metadata (Enterprise) RFC 8414: https://datatracker.ietf.org/doc/html/rfc8414 Public (no auth) — describes the Dex authorization server, 404 when Dex is off."
method: GET
path: "/.well-known/oauth-authorization-server"
tags: ["MCP"]
---

# Handler for OAuth 2.0 Authorization Server Metadata (Enterprise) RFC 8414: https://datatracker.ietf.org/doc/html/rfc8414 Public (no auth) — describes the Dex authorization server, 404 when Dex is off.

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

## Request

- Base URL: `https://api.openobserve.ai` (the document declares no server; this is the origin it was published from)
- URL: `https://api.openobserve.ai/.well-known/oauth-authorization-server`
- Auth: none required
- TypeScript: <https://skmtc.dev/openobserve/apis/openobserve-api-http/docs/.well-known/oauth-authorization-server/get.ts> (a function with typed inputs; its response is checked against the schema)

## Response `200`

Success

## Other responses

- `404`: Not Found - OAuth discovery requires Dex to be enabled

---

[API](https://skmtc.dev/openobserve/apis/openobserve-api-http.md) - [All operations](https://skmtc.dev/openobserve/apis/openobserve-api-http/llms.txt) - [OpenAPI document](https://skmtc.dev/openobserve/apis/openobserve-api-http/revisions/0529b8a10252?raw)
