Rejection handlers
A rejection handler defines the action to take when a request to an application or resource is rejected by policy evaluation. This lets you decide if you want to display an error template or redirect the user to another URL for error details, instructions, or additional actions.
You can specify the response status code to send if policy evaluation fails.
You include a rejection handler in a rule by clicking to expand Advanced on the Create Rule window.
PingAccess contains three predefined rejection handlers:
- Default API Rejection Handler
-
Returns a
403status code in a JavaScript Object Notation (JSON) template. - Default Rate Limiting Rejection Handler
-
Returns a
429status code in a JSON template. - Default Web Rejection Handler
-
Returns a
403status code in an HTML template.