You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In the Account controller, the redirect URL is hard-coded to root, but I believe it should actually pull from the config to accommodate applications running at a given context other than root. Here is my modification:
publicvoidSignUpSignIn(stringredirectUrl){redirectUrl=redirectUrl??Utils.Globals.RedirectUri;// Important!// Use the default policy to process the sign up / sign in flowHttpContext.GetOwinContext().Authentication.Challenge(newAuthenticationProperties{RedirectUri=redirectUrl});return;}
There are also many Response.Redirect lines that I think should be changed to start with ~/ instead of just /. Let me know if PRs are welcome and I can submit one.
The text was updated successfully, but these errors were encountered:
In the Account controller, the redirect URL is hard-coded to root, but I believe it should actually pull from the config to accommodate applications running at a given context other than root. Here is my modification:
There are also many
Response.Redirect
lines that I think should be changed to start with~/
instead of just/
. Let me know if PRs are welcome and I can submit one.The text was updated successfully, but these errors were encountered: