Skip to content

Fortified IDDocs

Configuration

To use a custom configuration for a logout page, the following configuration should be used.

The information endpoint module is configured to handle the logout endpoint in the application.

Please see the 2024.52 Information endpoint for detailed information.

Add the Information endpoint module to the application. Use the one-file-per-module pattern and create this file (logout.json) in the modules folder.

{
"name": "InformationEndpoint",
"config": {
"http_context": "/forms",
"endpoint": [
{
"context_path": "/logout",
"template": "logout.template",
"overlay_dirs": [<overlay_folders>]
}
]
}
}

Change the application property for logout to point to the information endpoint.

"logout_endpoint_url": "<logout endpoint>",
{
"name": "Forms",
"config": {
"http_context": "/forms",
"logout_endpoint_url": "/forms/logout",
"overlay_dirs": ["config/locale_overlay", "config/ui_overlay"],
"flows": "@include:../flows/*/flow.json"
}
}

Overlay for the logout page can now be configured as for any application. See Overlayfor details.

To test the logout UI point your browser to the logout endpoint, example below for a local installation.

http://localhost:8080/forms/logout/