3 years ago

Custom AuthorizationException

Posted 3 years ago by graphem

I am wondering if any one can guide me on how to customize the AuthorizationException. I am currently using a Policy to control access to some REST api call in my app. But the 403 exception are return in html format. I am curious to know if it is possible to customize them and make them JSON. Thanks!

Please sign in or create an account to participate in this conversation.