Branding Keycloak quickly with Quick Theme before you commit to a custom theme
A team with a launch date and a sign-in page that still shows the default Keycloak look often needs one thing first: the company logo and brand colors on the login page and consoles, without a theme project. Quick Theme is the fastest route for that narrow goal. It is a preview feature that sets a small set of branding values, such as a logo and colors, and generates a theme JAR from them. It does not rewrite login templates, change page structure, add fields or alter the wording of messages, so it covers branding only. Decide early whether the requirement stops at appearance. If the design needs a different layout, extra content on the login form or branded email templates, plan for a full custom theme from the start instead of stretching Quick Theme past what it does.
Treat the exact settings and deployment steps as version-specific. Preview features can change between Keycloak releases, so confirm the field names, where they appear in the admin console, whether the feature must be enabled explicitly at startup, and how the generated JAR is copied into the server and selected for a realm or client in the Keycloak version you run. Check the current wording in the Keycloak server administration guide before you plan a change window. Test the generated theme in a non-production realm first, including the login, password reset and error pages, and record which branding values were applied so that a later upgrade can be checked against them.
Quick Theme options and when each fits
This table compares each branding lever Quick Theme exposes against the need it answers and the change that would push a team toward a full custom theme. Read each row as a go or no-go check for your own requirements. Confirm every item in the admin console of your exact Keycloak version before you rely on it.
| Lever | Need it answers | Change that calls for a full custom theme |
|---|---|---|
| Logo | Showing your organization's mark on the login page and consoles without template work | Layouts that need a logo in a different position, multiple logos per realm, or markup beyond what the preview sets |
| Primary and accent colors | Matching the login page to your brand palette for a quick, consistent look | Brand guidelines that require custom fonts, spacing, component states or dark mode |
| Login page text and labels | Adjusting short copy on the sign-in screen where the preview exposes it | Extra form fields, custom messages per flow, or copy that depends on the client or user context |
| Console appearance | Giving administrators a recognizable admin console look | Changes to console layouts, navigation or components, which need a custom admin theme |
| Per-realm application | Different looks for different realms when the preview supports it | Per-client or per-tenant login pages with distinct templates or behavior |
| Packaging as a JAR | Deploying the generated theme through the normal provider directory process | Your release process requires a theme source repository reviewed and versioned alongside application code |
| Upgrade exposure | Low template maintenance because the preview generates the theme | Upgrades that change the default theme are not caught by a generated theme; test each minor release |
| Preview status | Evaluating the feature before committing to it in production | Your policy forbids preview features in production; confirm the feature status in the release notes for your version |
What Quick Theme generates and how the JAR reaches the server
Quick Theme does not write a theme by hand. It takes the branding values you enter, such as logo, colors and related settings, and writes them into a generated theme package. That package is built into a JAR, which you copy into the providers directory of your Keycloak server and then select for a realm or client. The steps matter more than the output, because each one is a point where a missing setting can leave the login page looking unchanged. Before you start, confirm the exact directory name, build command and feature flag for your Keycloak version in the upgrade and server documentation at Keycloak, since these details are the parts most likely to change between releases.
Treat Quick Theme as a preview feature, not a supported production feature, until your version's documentation says otherwise. Preview features can change or be removed in later releases, so a branded login page built this way may need rework during an upgrade. Check whether the feature flag must be enabled at startup for your version, and record the flag in your deployment configuration so it survives container rebuilds. Also confirm the support position in the release notes for the version you run, because your security and compliance reviewers will ask whether the login page depends on a preview mechanism.
After you copy the JAR into the providers directory, you must rebuild the server configuration so Keycloak loads the new provider. Skipping this step is a common reason the theme appears to be missing. Plan the rebuild and restart as a repeatable step in your pipeline, and test it in a non-production realm before changing the production login flow. Confirm the build command and any startup options for your release in the server documentation, and verify the selected theme on each realm and client that uses it.
How a Quick Theme change moves from the admin console to users' browsers
The flow starts in the admin console, where branding values are set and Quick Theme generates a theme package. An operator then builds that package into a JAR and deploys it to the Keycloak server filesystem, which is the trust boundary in the diagram. After the build and restart step, the target realm selects the theme, and the login and console pages render it. Check the result in a test realm before promoting the same change to production, and repeat the check after each Keycloak upgrade.
Branding moves from the admin console through a JAR deployment to user browsers.
Setting up Quick Theme in a test realm before production
This sequence applies Quick Theme branding in a non-production realm, deploys the generated theme to a staging server and checks each screen users and administrators see. It produces a tested, versioned theme package and a record of the checks, which the team then carries into production through its normal change process.
Confirm the Keycloak version and Quick Theme availability
The platform engineer records the Keycloak version running on the staging server and compares it with the version planned for production. Because Quick Theme is a preview feature, confirm in the server administration guide for that version how it is enabled and whether it appears in realm theme settings. Write down the version and the enablement method. You know this step is done when the staging server starts on the planned version and the Quick Theme controls are visible to an administrator.
Create or select a non-production realm
The administrator creates a test realm or chooses an existing non-production realm that mirrors the clients and login flows used in production. Avoid the master realm for this work. Create a test user and confirm that sign-in works with the default theme before any branding is applied. You know this step is done when the test user can sign in to a test client and the baseline login page is recorded, so later differences can be traced to the theme.
Set the logo and colors
In the test realm, the administrator uploads the logo and sets the colors in Quick Theme. Keep the values in a short written brand specification, including the logo file name, its version and the color values, so production uses the same inputs. Check the result on the login page for the test realm, including light and dark display if the logo has separate versions. You know this step is done when the login page shows the intended logo and colors and the brand specification matches what was entered.
Export or generate the theme JAR
The engineer generates the theme package from the Quick Theme settings and stores it in the team's artifact repository with a version label that matches the brand specification. Record a checksum for the file so the same JAR can be confirmed later in staging and production. Do not rebuild the JAR by hand for production. You know this step is done when the JAR is stored with its version and checksum and the team can retrieve it by that version.
Deploy the theme JAR to staging
The platform engineer places the JAR on the staging server using the deployment method the team uses for Keycloak, such as the providers directory on a virtual machine or a rebuilt container image. Restart or redeploy the server according to that method. Review the startup logs for provider or theme loading errors. You know this step is done when the server starts without theme-related errors and the logs show the theme loaded or the Quick Theme output is listed as available.
Select the theme in realm settings
In the test realm's settings, the administrator selects the deployed theme for the login theme and for any other theme type that Quick Theme covers in that version. Save the change and confirm that the selection is stored in the realm configuration. If the theme does not appear in the list, check the staging logs and the deployed file name before retrying. You know this step is done when the selected theme is saved in the test realm and remains selected in the admin console after a page reload.
Check login, consoles and error pages
Open a private browser window and sign in with the test user to check the login page, including any password or registration pages the realm uses. Then check the account console, the admin console and an error page, such as an invalid redirect for a test client. Restart the staging server and confirm the theme still applies. Check each screen for missing logos, unreadable colors and broken text. You know this step is done when every checked screen shows the branding, the restart does not remove it and the results are recorded. Production then follows these same steps through the team's normal change process, using the same JAR version and brand specification.
Security and operational considerations for branded login pages
A branded login page sits in front of every user who signs in, so a change to its files, text or links carries the same weight as a change to the application itself. The six cards below cover who can change branding, how theme files are reviewed and rolled back, and how the theme meets the production hostname and TLS setup.
Limit who can change branding
Quick Theme settings are made in the admin console, so any administrator with rights in the realm can change the login page look. Restrict realm and theme permissions to a small named group and remove standing access that is no longer needed. Confirm in your own environment which admin roles can open the Realm settings and Themes configuration, and test that a lower-privileged admin cannot change them.
Keycloak docsStore and review theme JARs
The generated theme JAR is code that Keycloak loads into the server, so it should be built from a known source, stored in version control or an artifact repository, and checked before it is deployed. Record the checksum of each JAR and confirm that the file running in production matches the one reviewed. Treat a JAR built on an engineer's laptop as untrusted until it has been rebuilt from reviewed inputs.
Control external scripts and links
Custom text, footer links and any added resource references can pull content from outside your control into the login page, which is where users enter credentials. Allow only the hosts you need, avoid loading third-party scripts on the sign-in page, and review every link target before publishing. Ask your team to confirm how the theme's content security settings apply to your setup, since the exact behavior depends on your Keycloak version.
Log and review branding changes
A change to logos, colors or text is easy to miss, so it should leave a trail. Enable admin event logging in Keycloak, confirm that changes to realm settings are captured, and export those events to your central log store. Schedule a periodic review that compares the live theme with the approved version, and ask your team to confirm the retention period for admin events in your environment.
Align the theme with production hostnames
Keycloak's production guidance calls for TLS on all communication and a reverse proxy with path restrictions, and it recommends exposing the admin console and Administration REST API on a different hostname or context path from public frontend URLs. Test the branded login page on the public hostname over TLS, and confirm that the theme's asset references resolve through the proxy and do not expose admin paths. A certificate or proxy change can break styling or assets even when the theme itself is unchanged.
Production guideRoll back a broken theme
Keep the previous theme JAR and its configuration available so the realm can be switched back quickly if the new login page fails to render or blocks sign-in. Test the rollback path in a staging environment before a release, and confirm that the change can be reverted without a database change. Agree in advance who can trigger the rollback and how users will be informed if the login page is unavailable.
When Quick Theme is enough and when a full custom theme is needed
Quick Theme is sufficient when the change is limited to a logo, a few colors and the consoles for one realm. You need no theme files, no Java code and no templates. The preview feature generates the styling from the values you enter, so the work stays at the level of brand assets and color choices.
- Scope of change: Logo, primary colors and similar styling for the login page and consoles of a single realm.
- Files you maintain: Only the brand assets and the generated JAR that carries them.
- Upgrade exposure: Low, because the generated output does not override the page templates the server ships with.
- What a full theme would add: A theme directory with FreeMarker templates and stylesheets that you version and test on every upgrade.
- What to confirm: Whether the preview feature is supported in the exact Keycloak release you run, and how your organization treats preview features in production.
Before you rely on Quick Theme, check that the brand changes you need fit inside what it generates. Anything beyond that boundary moves you to the next tab.
Quick Theme applies its output to a realm, so it fits a single brand per realm. When several brands must sign in differently inside one realm, or when one client needs its own login look, a full custom theme is usually needed. Keycloak lets you assign login themes to realms and, in some designs, to individual clients, which is where custom theme directories earn their cost.
- Per-realm branding: Quick Theme can cover one brand per realm if each realm is configured separately.
- Per-client branding: Assigning different login themes to different clients requires theme directories you build and maintain.
- Shared base: A full theme can extend a built-in theme so that common pages inherit from one base while brand pages differ.
- Upgrade work: Every theme you maintain must be retested after each Keycloak upgrade, so the count of themes drives the effort.
- What to confirm: Which realms and clients need distinct looks, and whether a realm split would serve the brands better than theme variation.
If you find yourself creating many near-identical themes, consider whether the brand differences can be handled through configuration instead of more theme code.
Quick Theme changes presentation only. It does not add, remove or reorder fields on the login form, and it does not change the template logic that decides what a user sees. When you need a different sign-in form, an extra notice, a changed layout of the fields or a modified error page, you must create a full theme that overrides the relevant FreeMarker templates.
- Templates involved: Page templates such as the login form, registration and error pages, plus the shared template that defines layout.
- Stylesheet versus template overrides: Stylesheet changes are cheaper to keep across versions than template changes, so limit template overrides to what the requirement truly needs.
- Upgrade exposure: Each overridden template must be compared with the new upstream version after every upgrade, because the server may have changed its markup or message keys.
- Testing: Each overridden page needs a manual and automated check on login, error and recovery paths.
- What to confirm: The exact list of templates you override and the Keycloak release each one was copied from.
Keep a written list of every overridden template and the reason for it, so the upgrade reviewer knows what to compare.
Localization and accessibility often go beyond color and logo. Translated text can be longer than the English original, right-to-left languages change layout direction, and accessibility requirements may call for changes to markup, focus order or contrast. Quick Theme does not address these needs, so a full theme is normally required when layout itself must change.
- Translated strings: Message bundles can be supplied per language, but layout must still accommodate the text lengths they produce.
- Right-to-left layout: Direction changes affect templates and stylesheets, and they must be tested with real translated content.
- Accessibility review: Contrast, labels, focus states and screen reader behavior should be checked against the accessibility standard your organization adopts.
- Upgrade cost: Accessibility and localization fixes often touch templates, so they recur as a cost after each release.
- What to confirm: Which languages and accessibility level your organization requires, and whether an independent accessibility test is part of your sign-off.
Do not treat an accessibility claim as complete until the tested pages and the test method are documented.
Quick Theme keeps the branding footprint small, which helps an environment that must stay on a supported upgrade path. A full custom theme is still valid in such an environment, but each file you copy from the server is a point where an upgrade can break your pages. The governing question is how many upgrades your organization must absorb and how quickly it must apply them.
- Release cadence: Keycloak documents a planned minor release cycle, so teams that upgrade often need theme work that is cheap to repeat.
- Preview status: Confirm whether the Quick Theme output is covered by the support terms of your deployment, especially if you use a Red Hat build.
- Template drift: Every template override has to be reconciled with each upstream change, which adds review time to every upgrade window.
- Staging: Test the theme in a non-production realm that mirrors the production configuration before each upgrade.
- What to confirm: Your upgrade calendar, the support scope for the distribution you run, and who owns theme review at each upgrade.
Before committing to a full theme, write down the upgrade cadence you must meet and the theme work each cycle will require.
Limits to confirm before you rely on Quick Theme
Quick Theme is a shortcut for light branding, and its boundaries depend on the Keycloak version you run and how your deployment is built. Confirm each item below in the documentation for your version and in a test realm before you commit the branding to production.
Preview status in your version
Check whether Quick Theme is still labeled as a preview feature in the Keycloak version you run, and whether its behavior, settings or generated output changed between releases. Preview features can change or be removed in later versions, so a theme that works today may need rework after an upgrade. Record the exact version you tested against and repeat the check before each upgrade.
Keycloak docsPages and consoles covered
Confirm which screens Quick Theme actually restyles. Test the login page, the account console, the admin console and any error or informational pages your users reach, rather than assuming that a logo change applies everywhere. Note any screen that still shows default styling, because that gap will be visible to users and may need a full custom theme.
Account and email pages
Verify whether the generated JAR changes the account pages and email messages or only the login pages. Account pages and emails are often assumed to inherit login branding, and they may use a different theme type. Send a test verification and password reset email from a test realm and review the result in each supported mail client.
Behavior across minor upgrades
Ask how the generated JAR behaves when you move to a later minor release. Confirm whether the JAR must be regenerated, whether it still loads, and whether Quick Theme settings carry over. Keycloak documents that minor releases may include opt-in breaking changes, so plan a staging upgrade with the branded JAR before you change production.
Release updatesClustered and multi-node deployments
Test how the theme JAR is distributed to every node in a cluster or rolling deployment. Confirm that each node loads the same version of the theme, that caching does not serve stale templates to some users, and that a rolling restart does not leave a mixed visual state. Include this check in your high availability test plan rather than only in a single-node environment.
Features that need a custom theme
Identify which requirements exceed what Quick Theme can express, such as custom layouts, extra fields on login forms, translated copy beyond the default bundles, or per-client login pages. List each requirement against the feature set you need. Any item outside Quick Theme scope points to a full custom theme, which carries ongoing upgrade effort that your team or a partner must maintain.
Questions buyers ask about Quick Theme cost, effort and upgrades
How much less effort is a Quick Theme project than a full custom theme?
Quick Theme is lighter because it applies logos and colors to the login page and consoles without writing a theme, so there are no templates or message bundles to build. The effort gap widens when you need changes beyond those settings, such as new page layouts, extra fields or custom wording. Ask the provider to split the written scope into the Quick Theme part and any full theme work, so you can see where the effort actually sits. Effort is not a fixed figure here; it depends on how far the branding goes past logos and colors.
What drives the cost of a Quick Theme branding project up?
The main drivers are the number of pages and consoles in scope, the number of realms and clients that each need their own look, the number of languages the pages must render in, and how much testing the change needs across browsers and devices. Each realm adds configuration and verification work, and each language adds review. Ask for a quote that lists these items separately, with the realms, languages and pages named, so you can change the scope without guessing at the total.
Can our internal team run a Quick Theme project without a partner?
Yes, a team with Keycloak administration skills can apply logos and colors in the admin console and deploy the generated JAR to a test server. Internal teams usually struggle with the parts around the change: a staging environment that matches production, a repeatable deployment process, a review of how the branding looks on each login path, and a plan for the next upgrade. Decide early who owns those items after launch, because they recur whenever Keycloak is upgraded.
What does the client need to provide for a Quick Theme project?
The work needs approved brand assets such as logos in the file formats and sizes the theme needs, a color palette with agreed values, and a named approver who signs off on each page. It also needs a staging Keycloak that mirrors production, access to the admin console for the realms in scope, and permission to deploy the JAR to the server or container image. Confirm in the written scope who provides each item and by what date, since waiting on approvals is a common source of delay.
Does the branding survive a Keycloak upgrade?
Settings made through Quick Theme are stored in the realm configuration, so they generally carry over, but the generated JAR is tied to the Keycloak version it was built for. After each upgrade, the JAR must be regenerated or retested against the new release, and the login page must be checked for layout or behavior changes. Keycloak's upgrade notes should be read before each move, and the test plan should cover every realm and client in scope. Ask the provider how they will handle that retest as part of ongoing support.
When should we request a quote, and what should it include?
Request a quote once you know the pages, realms, languages and consoles in scope, and whether Quick Theme will cover the whole brand or only part of it. A useful quote states the deliverables, the environments used for testing, the approval steps, the upgrade retest, and the assumptions about client-provided items. Most engagements are fixed-scope, so the scope and deliverables should be agreed in writing before work starts. If the branding needs templates beyond what Quick Theme changes, ask for that work to be quoted separately.
How do we know whether Quick Theme is enough or we need a full theme?
Quick Theme is usually enough when the goal is logos, colors and basic styling on the login page and consoles. A full custom theme becomes necessary when the layout, wording, added fields or per-client pages must change, because those need template overrides that carry more upgrade cost. Write down the pages and behaviors that must change, then ask the provider to mark which items Quick Theme covers and which need a custom theme. That list is the clearest input to a realistic estimate.
How DeployOpen scopes and delivers Keycloak branding work
DeployOpen treats Quick Theme branding as a small, fixed-scope piece of Keycloak work inside infrastructure you control. We agree in writing which login and console surfaces change, then build, test, document and hand over the result so your team can rerun it on later Keycloak versions.
How we scope
- Inventory the realms, clients and consoles that will carry the new branding before any preview work starts.
- Confirm which Keycloak version runs in your environment, since Quick Theme behavior must be checked against that release.
- Record in the written scope which logos, colors and pages are covered, and which ones need a full custom theme instead.
How we build
- Apply the logo and color settings through Quick Theme in a non-production realm that matches your production configuration.
- Generate the theme JAR and deploy it to a test instance, then review the login page and admin console against your brand guide.
- Test sign-in paths for each client and browser you support, including error and password reset screens where the branding appears.
How we hand over
- Document the deployment steps for the generated JAR, including where it is copied and how the realm setting is switched.
- Provide a short list of the settings that Quick Theme changed, so reviewers can compare them after future upgrades.
- Walk your platform team through the rollback path and the point at which a full custom theme becomes the better choice.
How we support
- Retest the branding after each Keycloak upgrade, because preview features can change between releases.
- Offer ongoing support and upgrades as a retainer if you want DeployOpen to carry that retest work over time.
- Plan the move to a full custom theme as a separate scoped engagement when your branding needs outgrow Quick Theme.

