When running CA Access Gateway (SPS), when a browser gets redirected to the defined error page, the user has to manually close the browser and login again. How to automatize this, so the browser gets automatically sent back to the login page without closing the browser and starting over again?
At first glance, if the error page is coded to remove the cookie and after some seconds to redirect the user to the login page, that will achieve the described flow.
So, in the page code
https://federation.example.com/affwebservices/public/custom/error.html
Execute some javascript code to delete the cookie and redirect the browser to the login page or intermediary page (1)(2).