Skip to Content
IAM
Installation
IAM: Whitelabeling

IAM: Whitelabeling

This guide explains how to customize the appearance of the IAM module’s user-facing pages to match an organization’s branding.

Overview

Whitelabeling changes the visual identity (branding) of two IAM interfaces:

  • The login page, served by Keycloak with the whitelabel login theme.
  • The IAM web application (user management pages), served by the IAM frontend.

global.whitelabel in values.yaml configures both interfaces; which settings apply to which one is shown in the tables below.

The IAM module supports three methods:

  1. Whitelabeling with Helm values: The simplest and recommended method. Content, styling, and the favicon are set directly in values.yaml.
  2. Whitelabeling with existing ConfigMaps: The CSS, JSON, and favicon of the IAM web application are kept in separately managed ConfigMaps. This method does not change the login page.
  3. Custom Keycloak theme (JAR): A custom Keycloak login theme is packaged as a JAR file and shipped in the providers image.
Note

Upgrading from a release older than 1.7

IAM 1.7 replaces the Keycloak login theme. Most global.whitelabel settings keep working, but some CSS variables, JSON fields, and overrides no longer apply. When upgrading from any earlier release, see Upgrading IAM to 1.7.


Whitelabeling with Helm values

Enable whitelabeling

To enable whitelabeling, set global.whitelabel.enabled to true in values.yaml.

values.yaml
global: whitelabel: enabled: true # ... customizations below

Every helm install and helm upgrade sets the login theme of the realm:

global.whitelabel.enabledRealm login theme
truewhitelabel (uses the values described below)
falsekeycloak.spiThemeDefault (default regnology, the Regnology look)
Warning

A login theme selected by hand in the Keycloak realm settings is reset on the next helm upgrade. Use global.whitelabel.enabled or keycloak.spiThemeDefault to choose the theme.

Text and links on the login page and in the footer are provided as a JSON structure in global.whitelabel.json.

Available Fields:

AreaKeyDescription
loginsupportLabelThe heading of the support contact block. Default: “Contact support”.
loginsupportWebsiteThe URL of the support website.
loginsupportEmailThe support email address.
loginsupportPhoneThe support phone number.
logininfo.mode"info" hides the badge above the information panel. Any other value shows it.
logininfo.badgeThe text of the badge above the information panel. Default: “News”.
logininfo.contentThe text of the information panel next to the login form. Replaces the default Regnology text.
logininfo.link.hrefThe URL of the link in the information panel.
logininfo.link.labelThe text of the link in the information panel. Default: “Read article”.
footercompanyNameThe company name in the copyright line (”© 2026 My Company”).
footerlicenseLinkThe URL of the license agreement, shown as a “Licensing” link. Leave empty to hide the link.
footerpoweredByThe “Powered by” text in the copyright line.

Rules:

  • The support contact block is shown when at least one of supportWebsite, supportEmail, or supportPhone is set.
  • All values are plain text. HTML is shown as text and not interpreted.
  • Links are rendered only for http:// and https:// URLs.
  • global.whitelabel.json replaces the default JSON as a whole. Fields that are not set are not taken from the default.
  • If the JSON is invalid, the login page falls back to the default texts.

Example configuration:

values.yaml
global: whitelabel: enabled: true json: | { "login": { "supportLabel": "We are here to help you:", "supportWebsite": "https://support.mycompany.com", "supportEmail": "support@mycompany.com", "supportPhone": "+1-800-555-1234", "info": { "mode": "info", "content": "Welcome to the My Company reporting platform.", "link": { "href": "https://mycompany.com/news", "label": "Read more" } } }, "footer": { "companyName": "My Awesome Company", "licenseLink": "https://mycompany.com/license", "poweredBy": "Powered by My Awesome Company" } }

Styling (CSS)

Default styles are overridden with CSS variables in global.whitelabel.css. This is used to change colors, logos, and background images. It is sufficient to set only the variables that should change.

Example configuration:

values.yaml
global: whitelabel: enabled: true css: | :root { --oru-brand-theme: 'dark'; --oru-brand-primary: #012D3F; --oru-company-logo: url('data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMj...'); --oru-login-marketing-image: url('data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMj...'); --oru-startup-background: url('data:image/svg+xml;base64,PHN2ZyB3...'); --oru-primary-button-background: #012D3F; --oru-primary-button-hover-background: #9FA8A9; --oru-topnav-links-color-hover: #9FA8A9; --oru-topnav-links-color: #FFFFFF; }

CSS Variables for the Login Page

CSS VariableTypeDescriptionDefault
--oru-brand-primaryColorBackground color of the page, used when --oru-startup-background-color is not set.Regnology petrol blue
--oru-startup-background-colorColorBackground color of the page.--oru-brand-primary
--oru-startup-backgroundImageOne background image that covers the whole page. Use either this or the left and right images.-
--oru-startup-background-leftImageLeft part of the background image.Illustration
--oru-startup-background-rightImageRight part of the background image.Illustration
--oru-login-marketing-imageImageLogo on the login card (light color scheme).Regnology logo
--oru-company-logoImageLogo on the login card (dark color scheme). Also the logo in the top navigation of the IAM web application.Regnology logo
--oru-startup-dialog-backgroundColorBackground of the login card (light color scheme).White
--oru-primary-button-backgroundColorBackground of the primary button (light color scheme). Also used for the focus line of input fields and checkboxes.Regnology green
--oru-primary-button-hover-backgroundColorBackground of the primary button on hover (light color scheme).Dark Regnology green

CSS Variables for the IAM Web Application

CSS VariableTypeDescriptionDefault
--oru-brand-themelight | darkLight or dark brand theme. For a dark theme (dark primary color), text on buttons and the top navigation is light.dark
--oru-brand-primaryColorPrimary color of the brand: background of the top navigation, and of primary buttons when --oru-primary-button-background is not set.Regnology petrol blue (top navigation)
--oru-company-logoImageLogo in the top navigation, used as the home button.Regnology logo
--oru-primary-button-backgroundColorBackground color of primary buttons.--oru-brand-primary; Regnology green when neither is set
--oru-primary-button-hover-backgroundColorBackground color of primary buttons on hover.Regnology light green (#3ce55a)
--oru-primary-button-colorColorText color of primary buttons.--oru-brand-text-color-inverted
--oru-primary-button-hover-colorColorText color of primary buttons on hover.--oru-brand-text-color
--oru-brand-text-colorColorBrand text color, used for the primary button text on hover.#012d3f
--oru-brand-text-color-invertedColorText color on the primary color: primary button text and top navigation links and icons.#fff
--oru-brand-text-color-inverted-hoverColorColor of the top navigation icons on hover, used when --oru-topnav-icon-color-hover is not set.#fff
--oru-topnav-links-colorColorColor of the top navigation links.--oru-brand-text-color-inverted
--oru-topnav-links-color-hoverColorColor of the top navigation links on hover.Regnology light green (#3ce55a)
--oru-topnav-icon-colorColorColor of the top navigation icons (notifications, user menu).--oru-brand-text-color-inverted
--oru-topnav-icon-color-hoverColorColor of the top navigation icons on hover.--oru-brand-text-color-inverted-hover
--oru-topnav-background-colorColorDeprecated in favor of --oru-brand-primary.
--oru-topnav-themeTextDeprecated in favor of --oru-brand-theme.

--oru-brand-secondary has no effect in the IAM web application or on the login page.

Note

Texts are set in JSON, not in CSS

The login page does not read text or link variables such as --oru-login-welcome, --oru-login-info-title, --oru-login-support-email, or --oru-login-news-mode. Texts and links are set in global.whitelabel.json (see Content).

Custom CSS Rules

Besides the variables, global.whitelabel.css may contain regular CSS rules. The login page is based on the Keycloak keycloak.v2 theme (PatternFly 5). Rules for the dark color scheme use the .pf-v5-theme-dark selector.

values.yaml
global: whitelabel: enabled: true css: | :root { --oru-primary-button-background: #C21B25; } .pf-v5-theme-dark .pf-v5-c-button.pf-m-primary { --pf-v5-c-button--m-primary--BackgroundColor: #C21B25; --pf-v5-c-button--m-primary--Color: #FFFFFF; }

Favicon

A custom favicon is set by providing a base64-encoded PNG image in global.whitelabel.favicon.pngB64. It is used by the login page and the IAM web application.

To generate the required base64 string from an image file, use this command:

base64 < my-favicon.png

Example configuration:

values.yaml
global: whitelabel: enabled: true favicon: pngB64: | iVBORw0KGgoAAAANSUhEUgAAAEAAAXHe...

Apply the changes

After updating values.yaml, apply the changes by upgrading the Helm release:

helm upgrade <release-name> <chart-path> -f values.yaml

The URLs of the login page styles and favicon change with their content, so browsers load the new version of the login page after the upgrade.

Default Regnology theme

When whitelabeling is disabled, the login page uses the regnology theme. It can still be adjusted with keycloak.themes.regnology.css, which accepts the variables listed in CSS Variables for the Login Page:

values.yaml
keycloak: themes: regnology: css: | :root { --oru-primary-button-background: #012D3F; }

The regnology theme shows a link to the Regnology customer support website. To hide it, add an empty regnologySupportUrl to the theme properties:

values.yaml
keycloak: themes: regnology: themeProperties: | parent=regnology-plain regnologySupportUrl=

Whitelabeling with existing ConfigMaps

This method keeps the IAM web application branding in separately managed ConfigMaps. This is useful for:

  • Keeping branding configurations isolated and reusable.
  • Integrating with a GitOps workflow where configuration is managed in separate files.
Warning

IAM web application only

Existing ConfigMaps are used only by the IAM web application. The login page always uses global.whitelabel.json, global.whitelabel.css, and global.whitelabel.favicon.pngB64 (or the defaults). To brand both, set the same content in the ConfigMaps and in values.yaml.

Step 1: Create the ConfigMaps

Two ConfigMaps are needed: one for the CSS and JSON, and one for the favicon.

A. Content & Styling ConfigMap

This ConfigMap must contain two keys: whitelabel.json and whitelabel.css.

my-whitelabel-config.yaml
apiVersion: v1 kind: ConfigMap metadata: name: my-custom-whitelabel-config data: whitelabel.json: |- { "login": { "supportLabel": "Custom Support:", "supportWebsite": "https://my-support.com" }, "footer": { "companyName": "My Custom Company" } } whitelabel.css: |- :root { --oru-brand-primary: #123456; --oru-primary-button-background: #abcdef; }

B. Favicon ConfigMap

This ConfigMap must contain the key favicon.png with the base64-encoded favicon.

my-favicon-config.yaml
apiVersion: v1 kind: ConfigMap metadata: name: my-custom-favicon-config binaryData: favicon.png: |- iVBORw0KGgoAAAANSUhEUgAAAEAAAABACAYAAACqaXHe... # base64-encoded image

Step 2: Apply the ConfigMaps to the cluster

kubectl apply -f my-whitelabel-config.yaml kubectl apply -f my-favicon-config.yaml

Step 3: Configure values.yaml

Point the chart to the ConfigMaps with existingConfigmap:

values.yaml
global: whitelabel: enabled: true # ConfigMap with whitelabel.css and whitelabel.json existingConfigmap: 'my-custom-whitelabel-config' favicon: # ConfigMap with favicon.png existingConfigmap: 'my-custom-favicon-config'

The IAM web application then uses the data from these ConfigMaps instead of global.whitelabel.json, global.whitelabel.css, and global.whitelabel.favicon.pngB64.


Custom Keycloak theme (JAR)

A custom Keycloak login theme can be packaged as a JAR file. This approach is recommended when:

  • The theme needs its own templates or messages.
  • The theme includes large assets (images, fonts).
  • The theme should be versioned and distributed as a standalone package.

Step 1: Create and package the theme JAR

Create a standard Keycloak login theme and package it as a JAR file. To keep the Regnology layout and the CSS variables, set parent=regnology-plain in the theme’s login/theme.properties.

Step 2: Include the JAR in the providers image

Add the theme JAR to the content that builds iam-keycloak-providers (or an equivalent providers image that the chart’s update-providers init container copies into Keycloak), then push that image with the chart SEMVER tag. Redeploy so that the init container copies the JAR into /opt/keycloak/providers before Keycloak starts.

Step 3: Select the theme

Set the theme name in keycloak.spiThemeDefault and keep whitelabeling disabled, because global.whitelabel.enabled: true always selects the whitelabel theme. With whitelabeling disabled, the IAM web application uses the default Regnology look.

values.yaml
global: whitelabel: enabled: false keycloak: spiThemeDefault: my-company-theme

Verify the configuration

  1. Log out of the application.
  2. Navigate to the login page. The new branding, content, and favicon are shown.
  3. Log in and check the IAM web application. If it still shows the old branding, reload the page without the cache or open a private browser window.

Troubleshooting

When the changes are not showing up, check the following:

  • Whitelabeling is enabled. global.whitelabel.enabled is true in values.yaml.
  • The changes are applied. helm upgrade runs after every change to values.yaml.
  • The YAML is valid. values.yaml has no indentation errors.
  • The JSON is valid. Invalid JSON in global.whitelabel.json makes the login page fall back to the default texts.
  • The CSS variable is read by the login page. Only the variables listed in CSS Variables for the Login Page change the login page.
  • The content is set in global.whitelabel. Existing ConfigMaps (existingConfigmap) apply only to the IAM web application, so a login page that is not branded needs the content in global.whitelabel as well.
  • No cache serves old files. The IAM web application, a proxy, or a CDN can serve an old whitelabel.css or favicon. Reload without the cache or clear the proxy cache.

To return to the default theme, set global.whitelabel.enabled: false and run helm upgrade. The realm login theme is set to keycloak.spiThemeDefault (default regnology).