u
This commit is contained in:
32
docs/api/routes/oauth/authorize.md
Normal file
32
docs/api/routes/oauth/authorize.md
Normal file
@@ -0,0 +1,32 @@
|
||||
# `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`._
|
||||
Reference in New Issue
Block a user