Skip to content
This repository has been archived by the owner on Dec 7, 2020. It is now read-only.

provide an option to use the host header for PROXY_REDIRECTION_URL #182

Closed
cameronbraid opened this issue Jan 20, 2017 · 3 comments
Closed
Assignees

Comments

@cameronbraid
Copy link

I wish to use the same proxy instance for multiple domains, which can't be done due to the hard coded PROXY_REDIRECTION_URL env var or command line argument.

Could keycloak support a flag to generate this from the request's host header ?

@gambol99
Copy link
Contributor

gambol99 commented Jan 20, 2017

Yeah .. i recall wanting to make the exact same change, the underlining lib go-oidc doesn't expose the redirection url post client creation though. I've raised a #PR130

@cameronbraid
Copy link
Author

ok, thanks

@gambol99
Copy link
Contributor

This should be fixed in master branch. If no redirection-url is provided it will use the Host header or the X-Forwarded-Host header .. Let me know if you have any issues :-)

@gambol99 gambol99 self-assigned this Jan 27, 2017
@gambol99 gambol99 closed this as completed Feb 6, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants