-
Notifications
You must be signed in to change notification settings - Fork 2.5k
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
help request: proxy-rewrite plugin bind to consumer not run after auth #7611
Comments
Solved in #6502 |
Feel free to reopen it if the problem can be reproduced with 2.15.0. |
2.15.0 has unsolved bug #7276 , cant upgrade to it, could you create a new release to include the commits that solve it? |
We will release 2.13.3 which contains the commits. |
OK,looking forward to see that |
When will 2.13.3 be released ? We need this fix desperately, thanks for reply! |
Description
here is the use case:
I have multiple consumers, each of them has a custom header (e.g. x-aa-app-consumer) represent for username. So I bind a proxy-rewrite to each consumer to rewrite custom headers into a unified header (e.g. x-myapp-uid). This is convenient for upstream to handle requests from different consumer.
However it doesn't work like I expected, headers are not rewrite, they are passed to upstream with no change.
As the document(https://apisix.apache.org/docs/apisix/terminology/consumer/) says, "The configurations like Plugins and Upstream bound to the Consumer are then executed.", was it misconfigured or kind of bug occurs?
Thanks for help!
Environment
apisix version
): 2.10.0uname -a
): in k8s(image apisix:2.10.0-alpine)openresty -V
ornginx -V
): in k8s(image apisix:2.10.0-alpine)curl http://127.0.0.1:9090/v1/server_info
): in k8s(image etcd:3.5.4-debian-11-r14)luarocks --version
): in k8s(image apisix:2.10.0-alpine)The text was updated successfully, but these errors were encountered: