In my ASP MVC web application, when I try to authenticate using email and password to log in. The URL redirect doesn't allow me to pass to the main page after successful authentication.
When I enter on login page the URL on localhost is something like this: http://localhost:3535/account/login?ReturnUrl=%2F
When I fill the login form with the correct credentials I got this: http://localhost:3535/account/login?ReturnUrl=%2Fhome%2Findex
Instead of: http://localhost:3535/account/index
About OwinAuthentication, using external login to authenticate such as Google and Microsoft, both works without any issue, I only got a problem on manual login.
Just cant figure it out where is the problem.