Replies: 1 comment
-
cc @guydc |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi,
I have a backend secured by api key. Two clients want to call this backend using their own api key. So I'm using a Security policy to authenticate the caller (field in auth token) and put the value in a header. This header is used to call the good rule based on the path and the value of the header. In each rule, I put a filter to inject the good credential for the client.
When I call the api, I get a 401 Unauthorized because no credentials are injected but if I put client1-host-rewrite filter on the "catch all" rule, I get a 200 OK. It's like the urlRewrite part of the custom client rule work but not the HTTPRouteFilter ExtensionRef part.
version : v1.4.1
Beta Was this translation helpful? Give feedback.
All reactions