You are here

Custom error page when One-Shot Authentication fails

Affects product: 
Airlock WAF
Affects version(s): 
5.0 and newer

By default a page with status 403 is sent as a response in case of a failed one-shot authentication request. Airlock allows to return a custom response document to such a request.

To define your own response, follow these steps:

  • First Create an archive containing custom error page, e.g. one_shot_fail.asis, and upload it with the Configuration Center. The page must be in asis format and have the file extension .asis .
  • Insert the following line in the expert settings tab of the mapping which has one-shot authentication flag enabled
    Authentication.Implicit.ErrorPath "/error_path/one_shot_fail.asis"
  • Activate the configuration
Knowledge Base Categories: