Skip to content

X-Forwarded-Prefix support for Keycloak

Notifications You must be signed in to change notification settings

mths0x5f/keycloak-proxied-hostname-provider

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Keycloak Proxied Hostname Provider

With this hostname provider, Keycloak will honor all X-Forwarded-* headers, specially the X-Forwarded-Prefix which is needed when Keycloak is proxied on a non-root base path. Setup standalone.xml as shown:

<spi name="hostname">
  <default-provider>proxied</default-provider>
</spi>