๐งAccessing the Server Environment Variables
Environment variables defined on the Keycloak server can be transferred to the theme. This allows for a degree of theme customization without necessitating a rebuild. This approach is particularly useful if multiple parties are reusing your theme. As an example, you can distribute a single .jar file to multiple customers, enabling them to modify certain aspect of the login page by defining specific environment variables.
Concretely the ide is to be able, if you start your Keycloak server like this:
To be able to access MY_ENV_VARIABLE value in your theme. (This is assuming you're using docker but for for Helm for example see this).
...Under construction. The Keycloakify build option is environmentVariables
Last updated