33 lines
757 B
Markdown
33 lines
757 B
Markdown
# `GET /oauth/authorize`
|
|
|
|
Public. No cookie required.
|
|
|
|
OAuth 2.1 Authorization Endpoint (RFC 6749 & RFC 7636)
|
|
|
|
Authorization prompt for end-users to grant access to an MCP client.
|
|
|
|
## Query parameters
|
|
|
|
| Param | Required | Type | Description |
|
|
|-------|----------|------|-------------|
|
|
| `client_id` | yes | string | |
|
|
| `redirect_uri` | yes | string | |
|
|
| `response_type` | yes | string | |
|
|
| `code_challenge` | yes | string | |
|
|
| `code_challenge_method` | yes | string | |
|
|
| `state` | no | string | |
|
|
|
|
## Response `200`
|
|
|
|
Authorization / Consent HTML form
|
|
|
|
## Errors
|
|
|
|
| Status | Description |
|
|
|--------|-------------|
|
|
| 302 | Redirect back to client callback |
|
|
|
|
---
|
|
|
|
_Generated from `@openapi` JSDoc. Do not edit by hand — run `npm run docs:api`._
|