I am trying to integrate a SSO process with an existing a web application (not MVC) that uses forms authentication. I create a httpHandler within Web.Config.
<add path="SingleSignOn/Customer/*" verb="GET,POST" type="MyApplication.SSOLoginPage, MyApplication" />
I land within the SSOLoginPage and verify the process.
My goal now is to be able to redirect back to the standard login.aspx page to continue to process of creating the users profile.
FormsAuthentication.SetAuthCookie(userWhoLoggedIn, False)
Response.Redirect("login.aspx?" & "Param1=" & 1 & "&" & "Param2=" & awesomeVariable & "&" & "Param3=" & boringVariable & "&" & "Param4=" & meh, True)
It redirect back to the login page but i need to hit enter in the browser in order to process the redirection.
The browser url contains exactly what i need https://myWebApplication.com/login.aspx?Param1=1&tParam2=awesome&Param3=boring&Param4=meh
But I cannot figure out why it is not actually processing my request unless I hit enter in the URL.