Skip to content
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

Automatically include default auth headers with a V0 config #1079

Merged
merged 4 commits into from
Jan 3, 2019

Conversation

kflynn
Copy link
Member

@kflynn kflynn commented Jan 3, 2019

0.50.0 has a set of default headers that are always allowed to go from an external auth service to the upstream service: Authorization, Location, Proxy-Authenticate, Set-Cookie, and WWW-Authenticate. These were always included when configuring an AuthService using API version ambassador/v1; this PR also includes them for API version ambassador/v0.

A separate typo was glomming X-Forwarded-Proto and X-Gateway-Proto into one header, so we were not allowing either header, but were instead allowing X-Forwarded-ProtoX-Gateway-Proto. That's fixed here too, but I'm not going to hold this for a test for that.

Fixes #1054. May fix #1053.

Flynn added 4 commits January 3, 2019 11:47
… not necessary to explicitly list Location or Set-Cookie. Update test to use new requested-location header so that we can test that V0 really does automagically include Location.
…d-ProtoX-Gateway-Proto instead of X-Forwarded-Proto and X-Gateway-Proto.
@kflynn kflynn merged commit a09e60c into release/0.50.0 Jan 3, 2019
@kflynn kflynn deleted the flynn/dev/1054 branch January 3, 2019 19:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant