---
title: "OAuth Authorization Endpoint"
method: GET
path: "/oauth/authorize"
tags: ["MCP OAuth"]
---

# OAuth Authorization Endpoint

`GET /oauth/authorize`

OAuth 2.1 authorization endpoint (RFC 6749 §3.1). Validates the client and PKCE parameters, then redirects to the login or consent page

## Query parameters

- `client_id` string, required
- `redirect_uri` string, required
- `response_type` string
- `code_challenge` string
- `code_challenge_method` string
- `resource` string
- `state` string

## Other responses

- `302` — Redirect to login, consent, or client redirect_uri with an error

---

[API](https://skmtc.net/comet-ml/apis/opik-rest-api.md) · [All operations](https://skmtc.net/comet-ml/apis/opik-rest-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/comet-ml/opik-rest-api/versions/4ed2fbc97cc3/schema)
