OAuth
Authorize
Authorize an MCP client against the currently-signed-in app user.
Fast path: if the browser sends our humwork_refresh_token cookie, the user is already signed into our app — exchange the refresh token at Auth0, identify the user, mint an MCP code for THEIR API key, and redirect straight to /oauth/success. No Auth0 prompt. This guarantees "whichever account is signed into our app gets the API key."
Slow path (no cookie or refresh failed): redirect to Auth0 Universal Login. Auth0 calls back into /oauth/callback which then mints the code.
get/api/v1/oauth/authorize
Request
- Base URLhttps://api.humwork.ai (the document declares no server; this is the origin it was published from)
- Authnone declared
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Query parameters
client_idstring required
redirect_uristring required
response_typestring required
code_challengestring required
code_challenge_methodstring required
statestring required
scopestring nullable
Response
Successful Response
unknown required
Changes
No recorded changes to this operation across all 1 revision of this API.