You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When using nginx auth-url backend to make use of the Ory Oathkeeper decision API, we run into an incompatability when oathkeeper cannot find matching rules. Oathkeeper will throw a 404 when no rules were matched, however nginx does not accept 404 error codes and in turn throws a 500 to the client.
It would be amazing if we could set a fallback rule when no other rules were matched. Currently it is not possible to have a catch-all rule as such a rule would result Oathkeeper to match more than one rule for any request and in turn throw a 500 error.
Describe your ideal solution
Implement a fallback rule to match when no other rules were able to match.
Workarounds or alternatives
Currently there are no alternatives but to define a rule for every possible route in the application. This is very tedious and can quickly get out of hand for larger applications.
Version
v0.40.9
Additional Context
No response
The text was updated successfully, but these errors were encountered:
Preflight checklist
Ory Network Project
No response
Describe your problem
When using nginx auth-url backend to make use of the Ory Oathkeeper decision API, we run into an incompatability when oathkeeper cannot find matching rules. Oathkeeper will throw a 404 when no rules were matched, however nginx does not accept 404 error codes and in turn throws a 500 to the client.
It would be amazing if we could set a fallback rule when no other rules were matched. Currently it is not possible to have a catch-all rule as such a rule would result Oathkeeper to match more than one rule for any request and in turn throw a 500 error.
Describe your ideal solution
Implement a fallback rule to match when no other rules were able to match.
Workarounds or alternatives
Currently there are no alternatives but to define a rule for every possible route in the application. This is very tedious and can quickly get out of hand for larger applications.
Version
v0.40.9
Additional Context
No response
The text was updated successfully, but these errors were encountered: