Global configuration | Error templates
While the user navigates through authentication or authorization, he can encounter errors. Naigation errors depend on the HTTP status, templates are provided for each of those. You can edit them to have a complete coverage of where the user can navigate to.
Error templates
Bad request encountered when the user emits a bad request.
- reason.message variable is available on the bad request template. It gives the current error message.
Forbidden encountered when the user is forbidden to access the page.
- reason.message variable is available on the forbidden template. It gives the current error message.
Not found encountered when the requested page is not found.
- reason.message variable is available on the not found template. It gives the current error message.
Internal server error encountered when the server crashes.
- reason.message variable is available on the internal server error template. It gives the current error message.
Manage through User Interface
The Administration interface gives the ability to create, update and delete backends. Backends are listed through the Configuration > error templates
section in the sidebar menu.
Manage through API
All client operations are accessible through a REST API following the below description. All client management endpoints are protected with a Bearer token that can be obtained with any OAuth flow. In order to get access, you need to have an access token with the private scope configuration:manage:all
granted.
Have a look at the TODO - API documentation