Skip to main content

Begin browser MCP authorization

GET /oauth/authorize

Validates the registered redirect, exact MCP resource and S256 challenge, then opens the product consent page. Does not grant access automatically. Request expires in 10 minutes. Authorization code expires in 60 seconds.

Authentication​

No authenticated session is required by this operation. Origin checks and request limits still apply.

[]

Parameters​

[
{
"name": "client_id",
"in": "query",
"required": true,
"schema": {
"type": "string"
}
},
{
"name": "redirect_uri",
"in": "query",
"required": true,
"schema": {
"type": "string",
"format": "uri"
}
},
{
"name": "response_type",
"in": "query",
"required": true,
"schema": {
"const": "code"
}
},
{
"name": "scope",
"in": "query",
"required": true,
"schema": {
"const": "mcp:tools"
}
},
{
"name": "resource",
"in": "query",
"required": true,
"schema": {
"const": "https://qscan.dev/mcp"
}
},
{
"name": "code_challenge",
"in": "query",
"required": true,
"schema": {
"type": "string",
"pattern": "^[A-Za-z0-9_-]{43}$"
}
},
{
"name": "code_challenge_method",
"in": "query",
"required": true,
"schema": {
"const": "S256"
}
},
{
"name": "state",
"in": "query",
"required": false,
"schema": {
"type": "string",
"maxLength": 1024
}
}
]

Request body​

No request body is defined.

Responses​

{
"303": {
"description": "Open sign-in and explicit consent",
"headers": {
"Location": {
"schema": {
"type": "string",
"format": "uri"
}
}
}
},
"400": {
"description": "OAuth error; tokens and request bodies must not be logged",
"content": {
"application/json": {
"schema": {
"type": "object",
"properties": {
"error": {
"type": "string"
},
"error_description": {
"type": "string"
}
},
"required": [
"error"
]
}
}
}
},
"401": {
"description": "OAuth error; tokens and request bodies must not be logged",
"content": {
"application/json": {
"schema": {
"type": "object",
"properties": {
"error": {
"type": "string"
},
"error_description": {
"type": "string"
}
},
"required": [
"error"
]
}
}
}
},
"403": {
"description": "OAuth error; tokens and request bodies must not be logged",
"content": {
"application/json": {
"schema": {
"type": "object",
"properties": {
"error": {
"type": "string"
},
"error_description": {
"type": "string"
}
},
"required": [
"error"
]
}
}
}
},
"413": {
"description": "OAuth error; tokens and request bodies must not be logged",
"content": {
"application/json": {
"schema": {
"type": "object",
"properties": {
"error": {
"type": "string"
},
"error_description": {
"type": "string"
}
},
"required": [
"error"
]
}
}
}
},
"415": {
"description": "OAuth error; tokens and request bodies must not be logged",
"content": {
"application/json": {
"schema": {
"type": "object",
"properties": {
"error": {
"type": "string"
},
"error_description": {
"type": "string"
}
},
"required": [
"error"
]
}
}
}
},
"429": {
"description": "OAuth error; tokens and request bodies must not be logged",
"content": {
"application/json": {
"schema": {
"type": "object",
"properties": {
"error": {
"type": "string"
},
"error_description": {
"type": "string"
}
},
"required": [
"error"
]
}
}
}
},
"503": {
"description": "OAuth error; tokens and request bodies must not be logged",
"content": {
"application/json": {
"schema": {
"type": "object",
"properties": {
"error": {
"type": "string"
},
"error_description": {
"type": "string"
}
},
"required": [
"error"
]
}
}
}
}
}

References such as #/components/schemas/Asset resolve in shared schemas. Download the OpenAPI contract for client generation. This page is generated; it describes the implemented development API, not planned endpoints.