Authorization(Roles = “”) fails but `IsInRole` works fine

前端 未结 0 1433
栀梦
栀梦 2020-12-05 17:51

I\'m using Asp.Net CORE 3.1 with Windows Authentication.

If I decorate my controller with [Authorization(Roles = "GlobalAdmin")] authorisation

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