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

Cant Change Owin LoginPath

$
0
0

hi

i used Owin Authentication for my mvc app. but Using Folowing code does not change Login path and yet an unauthorize request is redirting to /Account/Login

app.UseCookieAuthentication(new CookieAuthenticationOptions
            {
                AuthenticationType = "Application",
                AuthenticationMode = AuthenticationMode.Passive,
                LoginPath = new PathString("/MainPlugin/UserAccounts/Login")
            });

can any one tell me what is the problem


Viewing all articles
Browse latest Browse all 4737

Trending Articles



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