I have recently fixed the SSO set up for all of my APEX applications. There is a glitch in login screen. The details are:
1) From our company website, I call the welcome page that accessed by public for introduction about SSO.
2) Then from there I call the application that has SSO authentication.
3) The page flow & everything works normally if the user enters right password.
4) It doesn't work when the user wants to go back to previous page either by clicking browser back button or APEX SSO login page cancel button.
Is there any specific code I need to write for cancel button in the SSO authentication page set up?