title: ASP.NET MVC login ReturnUrl=%2F
body: <p>I am using C# with ASP.NET MVC5. I publish my app in Azure and everything worked properly. Until i launch a new update. </p>
  
  <p>After that, when i try to login i am redirected to the login page again, and the returned url is Account/Login?ReturnUrl=%2F. </p>
  
  <p>However, if a delete the app from azure and re-publish it, it works, even with the previous update that break the login system (by the way, i didn't touch in the account controller).</p>
  
  <p>i know there are 2 topics about this problem, i tried everything and nothing seems to work. I guess that they are outdated.</p>
  
  <p>1º: <a href="https://stackoverflow.com/questions/4087300/asp-net-mvc-issue-with-configuration-of-forms-authentication-section/22542911">ASP.NET MVC issue with configuration of forms authentication section</a></p>
  
  <p>2º: <a href="https://stackoverflow.com/questions/8205368/request-redirect-to-account-loginreturnurl-2f-since-mvc-3-install-on-server">Request redirect to /Account/Login?ReturnUrl=%2f since MVC 3 install on server</a></p>
  
  <p>Anyone knows how to solve this issue ?</p>