Deny access to application and redirect to customized error page
This document describes how to deny access to a resource, and redirect the user to a customized error page.
Background
Pre reqs
Configure AuthController to deny access
Examples AuthController
{
"id": "authcontroller_1",
"type": "AuthController",
"description": "The AuthController authenticator is responsible for various levels of controls.",
"config": {
"base_path": "${globals.default_login_suffix}",
"pipe_id": "authcontroller_1_pipe",
"use_generic_error_page": true,
"_fail_location": "https://fortifiedid.se",
"failed_redirect": [
{
"pattern": ".*Step-up was performed by other person.*",
"target": "${globals.default_login_suffix}/access/noaccess"
},
{
"pattern": ".*Access denied to Application.*",
"target": "${globals.default_login_location}/access/noaccess"
}
]
},
"display_name": "Check access denied"
}Examples Flow fail
If the SP has a specific entityID and the user NOT is member of a certain group
If the value of two properties are not equal
Configure the redirect endpoint
Configure translation
Last updated