Skip to main content
POST
/
oauth
/
authorize
OAuth2 Authorization Decision
curl --request POST \
  --url {protocol}://{domain}/oauth/authorize \
  --header 'Content-Type: application/x-www-form-urlencoded' \
  --data action=allow \
  --data 'client_id=<string>' \
  --data 'redirect_uri=<string>' \
  --data 'scope=<string>' \
  --data 'state=<string>' \
  --data 'code_challenge=<string>' \
  --data code_challenge_method=S256
{
  "error": "invalid_request",
  "error_description": "<string>",
  "error_uri": "<string>",
  "state": "<string>"
}

Body

application/x-www-form-urlencoded
action
enum<string>
required
Available options:
allow,
deny
client_id
string
redirect_uri
string<uri>
scope
string
state
string
code_challenge
string
code_challenge_method
enum<string>
Available options:
S256,
plain

Response

Redirect to redirect_uri with code or error