Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
[gateway] Enable requests to internal endpoints to override the Host header #644
When a request is made to the backend service it should be possible to override the host header to that the service.
At the moment the Host header is explicitly set at VertxHttpClient.java:173, taking its value from the backend service URL at VertxHttpClient.java:125 as
Create a new option at the API (or Endpoint) level of "Override Host header".
We are trying to use KeyCloak behind Gravitee and whilst it has explicit support for X-Forwarded-Proto it doesn't pick up X-Forwarded-Host (or any other custom header) which results in it generating invalid tokens and URLs.