The redirection page for Single Sign-On is available at
<IS-HOME>/repository/resources/identity/pages/samlsso_response.html. You need to edit this HTML file in order to customize the SSO redirection page.
Additionally, you can use some variable placeholders inside this HTML file to enhance your customization. These placeholders are replaced with actual values when this page is rendered. For example, you can use the
$acUrl variable to get the redirecting URL (in case you want to display it, etc.). There are other variables such as
$relayState that contain the SAML response and the relay state is passed along with the SAML request. You can use these two variables along with
$acUrl to implement redirection logic in case of a failure.
About having a different page for different tenants
Currently, the Identity Server does not contain a mechanism to have a separate redirection page template for each service provider. However, a simple workaround is possible when you have a small number of service providers. The variable