v
latestOpenAPI 3.1.02026-08-08552052.7 KBoauth
Authorize
Start OAuth flow: redirect user to Google login.
ChatGPT sends: GET /oauth/authorize?client_id=bolsai&redirect_uri=https://chat.openai.com/...&state=xyz&response_type=code
MCP clients additionally send PKCE (code_challenge + S256) and an RFC 8707 resource naming the MCP endpoint. We store them with the redirect_uri + state in session, then send the user to Google.
get/api/v1/oauth/authorize
Query parameters
client_idstring
redirect_uristring
statestring
response_typestring
code_challengestring
code_challenge_methodstring
resourcestring
Response
Successful Response
{"stackTrail":"paths:/api/v1/oauth/authorize:get:responses:200:content:application/json:schema","oasType":"schema","type":"unknown"}