ASP.NET Web App (MVC) Authorize doesnt work
Hello, I'm following this Tutorial https://dotnettutorials.net/lesson/redirect-to-returnurl-after-login-in-asp-net-core/ and I'm currently facing the issue that everytime I login and go to the SecurePage that it just redirects me to the Login Page again. Can someone help me there?
My Code is attached because Discord is acting weird again.
/views/Account/Login.cshtml
/Views/Account/Register.cshtml
/Home/HiddenPage.cshtml
/Home/NormalPage.cshtml
Dot Net Tutorials
Dot Net Tutorials
Redirect to ReturnUrl After Login in ASP.NET Core
In this article, I will discuss How to Redirect to ReturnUrl After Login in ASP.NET Core. Redirecting to a ReturnUrl after login is a common.
3 Replies