What is the best way to implement a form post method of authentication? The library rule set "Cookie Authentication With Login Page (form method POST)" appears to be the only one that uses a form post as opposed to the default http authentication dialog. We want to use the Form Post method as it allows more control over the content of the authentication prompt/dialog. I have tried modifying the rule set "Authentication Server (Time/IP based Session)" to do this and it works except that after authentication I cannot get the user automatically redirected back to the URL they requested. In the original "Authentication Server (Time/IP based Session)" rule set this appears to be done by the rule "Fix Hostname" which sets the property URL.Host to value of SSL.Server.Certificate.CN, but then this is not present when using the Form Post method. How do we get back to the original URL? The user is getting authenticated, and can manually reselect the URL and continue, but I need to make it automatic.
Of all the authentication rule sets I have seen in the Library that is in version 7.3, they all use the standard http authentication dialog and not a Form Post Method, with the exception of the "Cookie Authentication With Login Page (form method POST" I can't use that one as it requires that third party cookies be enabled.
The problem of course with using the standard http authentication, is that it is a standard system/browser based dialog and can not be customized to explain why the user needs to authenticate.