creamy-night-68920
11/28/2024, 3:59 PMremote_json
authorizer that calls the Keto check endpoint. Everything works pretty well, but I'd like to customize message and status code for some endpoints.
The problem is that Oathkeeper (through Keto) is throwing a 403 on a GET for an entity (for example), but I'd like to throw a 404 not found error instead for this type of requests.
Is there a way to do that (I'd like to avoid handling everything from my backend, not calling Keto at the proxy level but using an allow authorizer and then calling Keto from my BE only for this reason)?brief-egg-61061
11/28/2024, 3:59 PMbrief-egg-61061
11/28/2024, 3:59 PMcreamy-night-68920
11/28/2024, 4:05 PMrequest:
methods: ["GET"]
status_code: 404
message: "Not Found"
in the config?brief-egg-61061
11/28/2024, 4:05 PMbrief-egg-61061
11/28/2024, 4:06 PM