Authorize a user

POST {{baseUrl}}/oauth2/authorize?client_id=<string>&decision=<>&user_id=<string>&scope=<>&redirect_uri=<string>&response_type=<>

This endpoint is called when the user allow or deny permission in the decision page

Request Params

KeyDatatypeRequiredDescription
client_idstringClient ID
decisionstringMust be set to '1' if the user allowed the app, or '0' if the user denied the authorization
user_idstringUser ID
scopestringList of permission (space delimiter)
redirect_uristringRedirect URI
response_typestringResponse type