Alpesh Maniya

Alpesh Maniya

  • 473
  • 3k
  • 129.1k

Authorization issue while add AllowAnonymous at controller level

Oct 6 2023 10:02 AM

When I put the [AllowAnonymous] attribute at the controller level and the [Authorize] attribute at the method level then Authorize is not working if I removed AllowAnonymous from the controller then it's working.


Answers (6)