[keycloak-user] Adding alwaysHttps to Hostname SPI in Docker
Hylton Peimer
hylton.peimer at datos-health.com
Thu Apr 4 11:29:42 EDT 2019
I'm trying to figure out how to add the "alwaysHttps=true" to the Hostname
Provider in Keycloak running under Docker.
I've tried the following:
1) Modifying the standalone.xml and adding with sed:
name=properties.alwaysHttps,value="true"
2) Adding a CLI to the startup-scripts directory, but this fails since the
server isn't running and the connect doesn't happen.
3) Modifying the tools/cli/hostname.cli file and adding:
/subsystem=keycloak-server/spi=hostname/provider=fixed:write-attribute(name=properties.alwaysHttps,value="true")
What is the correct approach to adding the alwaysHttps when overriding the
default Dockerfile ?
More information about the keycloak-user
mailing list