v2

latestOpenAPI 3.1.02026-07-26512050.1 KB
oauth

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

We store the redirect_uri + state in session, then send user to Google.

get/api/v1/oauth/authorize

Query parameters

client_idstring
redirect_uristring
statestring
response_typestring

Response

Successful Response

{"stackTrail":"paths:/api/v1/oauth/authorize:get:responses:200:content:application/json:schema","oasType":"schema","type":"unknown"}