{
"responseType": "string",
"clientId": "string",
"redirectUri": "string",
"scope": "string",
"state": "string",
"nonce": "string",
"codeChallenge": "string",
"codeChallengeMethod": "string"
}
curl --location --request POST '/oauth/authorize' \
--header 'Content-Type: application/json' \
--data-raw '{
"responseType": "string",
"clientId": "string",
"redirectUri": "string",
"scope": "string",
"state": "string",
"nonce": "string",
"codeChallenge": "string",
"codeChallengeMethod": "string"
}'
{
"success": {
"authorizationCode": "string",
"state": "string"
},
"redirect": {
"redirectUrl": "string"
},
"error": {
"error": "string",
"errorDescription": "string",
"state": "string"
}
}