Skip to content
LogoLogo

Authorize a registered first-party developer client

Authorize a registered first-party developer client

GET/api/v1/dev/oauth/authorize

Completes first-party CLI or IDE authorization from a signed-in system browser. The request must use Authorization Code with PKCE S256, a registered client ID (assign-cli, assign-jetbrains, or assign-vscode), and an exact http loopback callback on 127.0.0.1 or [::1], an ephemeral port, and path /callback. Client secrets, localhost, custom URI schemes, non-loopback hosts, alternate paths, query-bearing callbacks, and PKCE downgrade are rejected. The five-minute code is single-use.

Query Parameters

response_typeRequired
string·const code
client_idRequired
string
Values
assign-cliassign-jetbrainsassign-vscode
redirect_uriRequired
string <uri>
stateRequired
string·min 16·max 2048
code_challengeRequired
string·min 43·max 128
code_challenge_methodRequired
string·const S256

Responses

302Redirect to the exact bound loopback callback with one code and unchanged state.