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
Key | Datatype | Required | Description |
---|---|---|---|
client_id | string | Client ID | |
decision | string | Must be set to '1' if the user allowed the app, or '0' if the user denied the authorization | |
user_id | string | User ID | |
scope | string | List of permission (space delimiter) | |
redirect_uri | string | Redirect URI | |
response_type | string | Response type |