AuthorizeAttribute with Roles not working when migrating from MVC to Endpoint Routing in ASP.NET Core 3.1

前端 未结 0 734
暗喜
暗喜 2020-11-27 03:56

I\'m trying to upgrade my project from .UseMVC (asp.net core 2.2 compat style) to .UseEndpoint Routing and I\'m getting re-directed to my suthentication failed page for all

相关标签:
回答
  • 消灭零回复
提交回复
热议问题