oauth

Authorize

Mint an authorization code for the approving user. Returns the URL the browser should be redirected to (redirect_uri + code + state).

The frontend has already authenticated the user (Supabase session) and shown the consent UI; this endpoint enforces the protocol invariants.

post/oauth/authorize

Request body

client_idstring required
redirect_uristring required
code_challengestring required
code_challenge_methodstring
response_typestring
scopestring nullable
statestring nullable
resourcestring nullable
device_namestring nullable

Response

Successful Response

object required

Changes

No recorded changes to this endpoint across all 1 revision of this API.