Alpesh Maniya

Alpesh Maniya

  • 474
  • 3k
  • 122.3k

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)