-
Notifications
You must be signed in to change notification settings - Fork 818
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
Add param to forward headers from the auth server to the origin #9271
Conversation
aebcb08
to
446c95a
Compare
[approve ci] |
Can we add this option to the documentation? Will all headers that match the prefix that come back from the auth server be proxied to the origin? What's the format of the value (just text)? Is there just one prefix that can be configured? (think the doc is at doc/admin-guide/plugins/authproxy.en.rst) |
446c95a
to
b93ee5d
Compare
Hey @mlibbey, I've added the option usage to the documentation. |
a94f7bb
to
7fb41e4
Compare
7fb41e4
to
f57e897
Compare
…he#9271) (apache#482) (cherry picked from commit b7b25f7) Co-authored-by: Fu Tianyuan <ftygary@gmail.com>
* asf/master: (623 commits) records.config to records.yaml (apache#9264) Updates the release roadmap, adjusting for delays (apache#9360) Upgrades master branch to use clang-format v15.0.7 (apache#9355) Disable merging on GitHub (apache#9354) Clang-format 15.0.7 is finicky, and does not like these old school array inits (apache#9356) Enable merging for 10-Dev merge (apache#9353) Fix an error on SSL config reload (plus some cleanup). (apache#9334) Cleanup of legacy, makes newer clang-format crash right now (apache#9350) Update the roadmap / branch management doc page (apache#9340) Proxy Protocol out fixes (apache#9341) Memory leaks with storing configuration filenames (apache#9324) s3_auth autest: convert from gold file to file contains (apache#9337) Make 204 cacheable again (apache#9333) Add param to forward headers from the auth server to the origin (apache#9271) s3_auth: Fix assertion failure of TSActionCancel (apache#9329) Added http connect Autest with proxy verifier (apache#9315) s3_auth: Schedule reloading config event on TASK thread (apache#9328) Register ET_UDP thread type even if no UDP threads are requested (apache#9314) Don't send response body on status 204 No Content (apache#9330) Limit the serching range of static table by the first letter of header name (apache#9298) ...
Added a header prefix field to the config. Headers from the authentication response with the prefix will be appended to the original request.
new parameter:
@pparam=--forward-header-prefix