Did anyone faced following issue while using Mercurius Cache with NestJS auth where it throws 500 Internal Issue.
Use Case:
I have global auth applied in NestJS and when auth token becomes invalid or auth token is not provided then it throws 500 Internal Issue rather than correct exception which should be Forbidden or Authentication Required.
I tried skip property of Mercurius Cache which addressed one scenario where if Authorization token is passed in the http header then it works as intended but when token is not present in http headers it throws 500 instead of 403 Authentication not required.
Hi All,
Did anyone faced following issue while using Mercurius Cache with NestJS auth where it throws 500 Internal Issue.
Use Case: I have global auth applied in NestJS and when auth token becomes invalid or auth token is not provided then it throws 500 Internal Issue rather than correct exception which should be Forbidden or Authentication Required.
I tried skip property of Mercurius Cache which addressed one scenario where if Authorization token is passed in the http header then it works as intended but when token is not present in http headers it throws 500 instead of 403 Authentication not required.
Thanks