Page created: 22 Jul 2020
|
Page updated: 9 Feb 2021
Use denied-reason
to allow a policy writer to provide an error
message that contains the reason for denying a request.
Applicable to |
DENY decisions. |
Additional information | The payload for Denied Reason advice is a JSON object string with the following fields:
The following example shows a possible response for a request made with insufficient scope {"status":403,
"message":"insufficient_scope", "detail":"Requested operation not allowed by
the granted OAuth scopes."} |