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

Uncessarily setting Host when requesting redeem URL #248

Open
castlemilk opened this issue Aug 26, 2019 · 0 comments
Open

Uncessarily setting Host when requesting redeem URL #248

castlemilk opened this issue Aug 26, 2019 · 0 comments

Comments

@castlemilk
Copy link

castlemilk commented Aug 26, 2019

Describe the bug
When making a request to the internal auth URL for the /redeem endpoint, the Host header for the request is being set to be the external URL. This is causing issues with routing tools like Istio, where the Host header will be used for routing decisions and should represent the intended destination (in this case the internal auth hostname).

req.Host = p.ProviderData.ProviderURL.Host

Expected behavior
Host header should should be either not overwritten or represent the internal auth endpoint.

version: 1.2.0

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

No branches or pull requests

1 participant