Quantcast
Channel: Security
Viewing all articles
Browse latest Browse all 4737

With the new identity/owin authentication, where do you set the url for redirects after logging in, and after loggin out with asp.net 4.5?

$
0
0

I can log in and log out from my home page adding the login controls to it.  But when I log in or log out from the home page, it takes me to the Default.aspx page that is created when the web app is created. How do I control where logging in goes and logging out goes?

With forms authentication, I used to control it by adding

<authentication mode="Forms"><forms loginUrl="~/Account/Login" timeout="2880" defaultUrl="~/Index.aspx" /></authentication>

That is no longer an option from what I can see.


Viewing all articles
Browse latest Browse all 4737

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>