Created
March 9, 2021 19:35
-
-
Save fatso83/db7e57b5633e39ad2d23347ea296e899 to your computer and use it in GitHub Desktop.
Velocity template for state.not.found.error.page.template in PingFederate
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!-- This is just to get syntax highlighting: | |
https://support.pingidentity.com/s/question/0D51W00008BoxciSAB/how-to-customise-page-expired-handling | |
--> | |
<!-- So the middle part of the velocity template would look like this --> | |
<div class="ping-body-container"> | |
<div class="ping-messages"> | |
<div> | |
The page you are trying to access is no longer available. | |
</div> | |
</div> | |
<button onclick="goBack()">Go back</button> | |
<!--And after <body> you would have a --> | |
<script> | |
function goBack(){ | |
history.back(); // sends you to back to the login page, fixing the issue | |
} | |
setTimeout(goBack, 10000); // sends the user back after waiting 10 seconds, should she not press the link | |
</script> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment