v1

latestOpenAPI 3.0.02026-07-14169146300.3 KB
OAuth

Authorize user through oauth and claim a project

Initiates the OAuth authorization flow for the specified provider. After successful authentication, the user can claim ownership of the specified project.

get/v1/oauth/authorize/project-claim

Query parameters

project_refstring required
Example:abcdefghijklmnopqrst

Project ref

client_idstring uuid required
Example:66666666-6666-4666-8666-666666666666
response_type'code' | 'token' | 'id_token token' required
Example:code
redirect_uristring required
Example:https://app.acme.com/auth/callback
statestring
Example:st_9f4d3a206b2e4a7e8c91
response_modestring
Example:query
code_challengestring
Example:Z_P4EKbGwIkA01e3Y5fp4tMCvn_Ae5nUw7qY7XwkTrQ
code_challenge_method'plain' | 'sha256' | 'S256'
Example:S256