OAuth

Authorize Grant

Called by the consent UI after the user clicks "Autoriser". The Supabase JWT identifies which user is granting consent. Returns the redirect URL with the freshly-issued code.

post/oauth/authorize/grant

Request

  • Base URL: https://api.emile.wine (the document declares no server; this is the origin it was published from)
  • URL: https://api.emile.wine/oauth/authorize/grant
  • Auth: HTTP bearer

Headers

X-API-Keystring nullable

Request body

client_idstring required
redirect_uristring required
scopestring
statestring nullable
code_challengestring nullable
code_challenge_methodstring nullable

Response

Successful Response

redirect_tostring required

Changes

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