Asp.net core Identity successful login redirecting back to login page

后端 未结 6 932
长情又很酷
长情又很酷 2020-11-30 12:38

I have a problem where the asp.net identity framework is redirecting the user back to the login page after they have logged in successfully.

This is using the stand

6条回答
  •  误落风尘
    2020-11-30 13:14

    Note that the order is IMPORTANT. I had these reversed and experienced the exact same problem the original poster experienced. Hours wasted before I figured this out...

        app.UseAuthentication();
        app.UseAuthorization();
    

提交回复
热议问题