-
Notifications
You must be signed in to change notification settings - Fork 393
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Support for custom error code when extAuth fails #5180
Comments
hey @luvk1412 can you use responseOverride for this case ? |
@arkodg i don't think so. |
good point, would a match/differentiation of |
Yes @arkodg this could also work. I am assuming default reply(403) if and when generated by envoy would get auto categorised under Also on the other hand adding support for |
yeah hoping we leverage im hoping we can solve this in a more generic way, else we'll (project as well as users) need to configure a API field for every feature instead of doing it in one place |
I tried to go through envoy-v3-api-msg-extensions-filters-http-custom-response-v3-customresponse (I assumed this is what is being used in eg to provide |
the |
Description:
Envoy proxy supports
status_on_error
field in extAuth filter, but in eg's extauth, the support is not there. I would like this to be supported.Use case
We already have Availability and SLA pipelines built which account for 5xx as not available and 4xx as available. Due to default setting of ext auth filter where it responds with 403 when ext auth server is not reachable, this breaks our assumption. Also we feel when ext auth server is down or has some bug due to which it responds with 5xx, clients should get 5xx and not 403 as its an error on backend side and user is not forbidden to use the service otherwise suggested by current default behaviour.
The text was updated successfully, but these errors were encountered: