Authorize a Client
Called by the web consent page once the signed-in user approves a native client or app. Stores a single-use code bound to the PKCE challenge and returns the URL to send the user back to. Browser session only. Include platform to register the client as a device.
Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
application/json
application/json
application/json
application/json
application/json
curl -X POST "https://example.com/auth/authorize" \ -H "Content-Type: application/json" \ -d '{ "redirect_uri": "string", "code_challenge": "string", "name": "string" }'{ "redirect_to": "string"}