Alpesh Maniya

Alpesh Maniya

  • 458
  • 2.9k
  • 81.4k

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)