Keycloak customization: when stock sign-in screens and flows stop being enough
Customization covers the parts of Keycloak that a stock installation does not give you: login and account themes that match your brand, custom steps inside authentication flows, and service provider interface (SPI) extensions that connect Keycloak to an internal user store or push events to your own systems. Most teams that reach this point build the simpler pieces, such as themes, in-house, and bring in a partner for the extensions that touch user data, credentials or the sign-in path, because those are the places where a mistake affects every application that relies on the realm. Your first decision is which of these you actually need. A branded login page is a theme change. A step-up check before a sensitive action is an authentication flow change. A link to a database holding users from an old system is a user storage SPI. Each one carries a different build effort and a different upgrade cost, so list them separately before you estimate anything.
Every customization sits on top of the Keycloak release train. The project plans four minor releases a year and says breaking changes in a minor release will be opt-in, according to the Keycloak release updates post, but opt-in does not mean your code is safe. Themes depend on template and resource structure, flows depend on the authenticator and execution model, and SPIs depend on Java interfaces that the project may change between versions. Each custom component should be recorded with the Keycloak version it was built and tested against, and the upgrade plan should include a retest of every login path it touches, including password reset, MFA enrollment and token issuance. Ask any partner to show how they isolate customizations from the base image, so a version bump does not silently discard or break them.
Keep customization separate from implementation and migration. Standing up the cluster, database and realms is covered in the implementation plan, and moving users and clients from another system is covered in the migration topic. This topic is about changes you add after the platform works. Before work starts, confirm three things in writing: which components are custom code versus configuration, who owns the source and build pipeline after go-live, and who tests each release of Keycloak against those components. Those answers drive most of the long-term cost, because a custom SPI that one engineer understands is a recurring risk, while a documented theme and a tested flow are routine maintenance.
What Keycloak customization work includes and delivers
Keycloak customization falls into a few distinct kinds of change, and each one carries a different maintenance burden. The cards below cover what the work includes, what each kind of change touches, and what the client receives so that its own team can operate the result. Read them together: the upgrade cost of each item is set by how deeply it reaches into Keycloak's internals.
Login and account theme work
Themes change how sign-in, registration, password reset and the account console look and read. Keycloak renders these screens from FreeMarker templates, with message bundles for translated text and stylesheets for branding, and a theme is packaged and assigned per realm or per client. The work includes template overrides, localized messages and accessibility checks on the forms. Confirm which templates your flows actually render, because a theme that overrides a page you never changed still has to be reviewed at every upgrade. Ask whether the theme is kept in version control and deployed through the same pipeline as the server.
Keycloak docsCustom authentication flows
An authentication flow is the ordered set of steps Keycloak runs at sign-in, such as username and password, OTP, conditional checks and required actions. Customization here means building or adjusting flows, binding them to browser or direct grant paths, and defining when a step runs based on user, client or risk conditions. Required actions, such as forcing a password change or accepting terms, are modeled as part of the same design. Flow changes are configuration rather than compiled code, but they are where lockout and bypass mistakes usually happen, so each flow needs test accounts for every path.
Keycloak docsSPI extensions for users and events
Service provider interfaces let developers add code to Keycloak for behavior the product does not provide, such as a user storage provider that reads an existing user table or an event listener that forwards login events to a SIEM. Each extension is a Java provider packaged and deployed into the server, so it must be rebuilt and retested for every Keycloak version you adopt. The client should expect the extension to depend on internal interfaces that can change between releases. Confirm the exact interfaces against the server developer documentation for the target version before scoping.
Packaging, testing and handover
Customizations only stay supportable if the build is repeatable. The deliverables include a versioned source repository, a build that packages themes and providers into the deployment image, automated or scripted tests for each login path, and a runbook covering install, rollback and upgrade steps. Handover should include walkthroughs with the team that will maintain the code, not only the artifacts. Ask who will own each custom component after go-live, which tests gate a Keycloak version change, and how the team will validate customizations before adopting a new minor release.
Release updatesWhat drives customization cost and duration
This table compares the main factors that move customization effort on a Keycloak rollout, why each one matters, and how to keep it contained. Read each row as a lever you control at scoping time, since most of the cost comes from how many separate things are built and how many of them must be tested and upgraded later. The main takeaway is that a small number of shared themes, flows and extensions costs far less to maintain than many bespoke variants.
| Driver | Why it moves effort | How to keep it down |
|---|---|---|
| Number of themes and realms | Each realm can carry its own login and account theme, so every additional realm adds pages to review, translate and retest. | Reuse one theme across realms and vary only branding settings; confirm which theme properties each realm can override before scoping. |
| Number and complexity of authentication flows | Custom browser or registration flows with conditional steps need more test paths, and each step that calls a branch adds states to verify. | Start from the built-in flows and add only the steps the business requires, such as a specific MFA condition, rather than cloning whole flows. |
| Number of SPIs and external systems they call | Each service provider interface extension is Java code that must be built, deployed and maintained, and each external call adds latency, failure modes and credentials to manage. | Limit SPIs to what standard features cannot do, such as a specific legacy user store, and document each external dependency and its failure behavior. |
| Testing across browsers, devices and locales | Login pages render differently across browsers, screen sizes and translations, and passkey or WebAuthn prompts vary by platform. | Define a short browser and locale matrix agreed in the scope, and automate the sign-in path for the most important flows. |
| Upgrade effort for custom code | Themes, flows and SPIs can depend on internal APIs that change between releases, so each minor upgrade may require rework and retesting. | Keep custom code small, keep it in version control, and confirm which extension points the project treats as stable before choosing them. |
| Edition choice | Community Keycloak and the Red Hat build of Keycloak may differ in support scope and release timing, which affects how often custom code must be revalidated and who handles defects. | Confirm the supported distribution, release cadence and support terms in writing before scoping, and ask how each edition handles custom extensions. |
How a customization project runs from requirements to handover
The sequence turns a list of sign-in and administration needs into tested Keycloak changes that the client's own team can upgrade and operate. Each phase ends with a named output, so the client knows what it has approved before the next phase starts.
Capture requirements and build a change inventory
Walk through each sign-in journey, client application, and admin task with the identity owner and application teams, then record every requested change in one inventory. Each entry states the user-facing behavior, the realms and clients it touches, the Keycloak release it targets, and who approves it. The output is a signed-off inventory that becomes the scope baseline. Work outside that inventory goes through a change request.
Choose theme, flow, or SPI for each need
For each inventory item, decide which extension mechanism fits. Visual changes to login, account, or email pages usually belong in a theme. Changes to the order or conditions of authentication steps usually belong in a custom authentication flow or authenticator. Logic that must read or write external data, or react to events, usually needs an SPI such as user storage or an event listener. The output is a decision record per item that names the mechanism, the reason, and the upgrade risk the client accepts for it.
Build and version the changes in a development environment
Engineers implement the approved items in a development environment that matches production's Keycloak version, database type, and realm layout as closely as practical. Themes, flow definitions, and SPI code are kept in source control, and realm configuration is exported so changes can be reviewed and replayed. The output is a tagged build with a changelog that maps each item to its code or configuration. Custom SPI code is compiled against the target release's interfaces, so it must be rebuilt for each upgrade.
Test against the target Keycloak release
Run the build on the exact Keycloak release planned for go-live, not only on the version used during development. Test each sign-in journey end to end, including failure paths such as wrong passwords, expired sessions, disabled users, and lockout. Test every custom SPI against a copy of the production-like database and against the external systems it calls. The output is a test report with pass or fail results per inventory item, plus a list of defects that must be closed before release.
Roll out in stages with a rollback path
Deploy the tested build to a staging environment, then to production in a controlled window that the client approves. Before the change, back up the database and export the realm configuration. Confirm that the production database schema migration, if one applies, has been reviewed and that the rollback path works. The output is a deployment record showing what changed, when, and the result of post-deployment checks on sign-in and token issuance.
Hand over code, configuration, and upgrade notes
Transfer the source repository, build instructions, and realm exports to the client's team, and walk them through the operation of each extension. Document which customizations depend on internal Keycloak interfaces, which need retesting on each minor release, and which steps must be repeated after an upgrade. Include the test suite and the checklist used to retest after each Keycloak release. The output is a handover package and a session in which the client's team runs the upgrade checklist once with DeployOpen observing.
How customization differs by starting point and deployment
On the Keycloak Operator or a container platform, custom providers, themes and SPI jars are usually built into a custom image rather than copied onto a running server. The image becomes the unit of change: each theme edit, provider update or Keycloak version bump produces a new image that is tested and then rolled out. The Operator manages the Keycloak resource, so the image reference and its update behavior sit in cluster configuration that your platform team controls.
- Build the image in CI: Compile providers and package themes in a pipeline so every image traces to a source revision and a Keycloak version.
- Pin the image tag: Avoid floating tags so a rollout cannot change the server version without a review.
- Use manual approval for operator updates: The Operator documentation strongly recommends manual approval mode to avoid unintended automatic upgrades.
- Plan database schema changes: Automatic migration at startup is the default, so confirm whether your rollout should apply SQL manually for large deployments.
- Mount realm and client config as code: Use KeycloakRealmImport and client resources where possible so environments stay consistent.
Check that your pipeline can rebuild the same image from source after a Keycloak minor release, and that a staging cluster runs the new image against a copy of production realms before cutover.
On virtual machines, providers and themes are typically copied into the Keycloak installation directory and the server is rebuilt and restarted during a maintenance window. Changes are easier to make by hand, which makes drift between nodes the main risk. Every node in a cluster must run the same build, and configuration must be applied consistently across all of them.
- Deploy artifacts from a single source: Use configuration management or a release pipeline so each node receives identical jars, themes and configuration files.
- Rebuild after every change: Custom providers require the server build step before they take effect, so include it in the runbook.
- Keep the reverse proxy in the change set: Path restrictions and hostname separation for the admin console are configured outside Keycloak and must be versioned with the server.
- Stage the upgrade on a separate host: Test the new version against a database copy before touching production nodes.
- Own the patch cycle: Your team applies minor and security releases, so budget for that recurring work.
Confirm how your team will roll a change to one node at a time in a clustered setup and how a failed rollout is reversed.
Teams moving from Red Hat Single Sign-On or an older WildFly-based Keycloak often carry extensions written for an earlier platform generation. Existing providers, themes and authentication flows may depend on APIs, packaging or server behavior that changed in later releases. The porting work is usually done before any user or client cutover, and it runs alongside the migration of users and password hashes.
- Inventory every extension: List each custom authenticator, event listener, user storage provider, theme and mapper, with its owner and its current behavior.
- Recompile against the target version: Rebuild each provider against the Keycloak release you will run, then test it, since older binaries may not load or may behave differently.
- Review the upgrade notes across versions: Read the notes for every release between your source and target, not only the latest, to catch removed or changed behavior.
- Check whether extensions are still needed: Some functions may now be covered by built-in features such as passkeys or Organizations, which reduces custom code.
- Run both systems side by side: Keep the old and new flows working in parallel until each application has been cut over.
Confirm with your source-version team which extensions run in production, since undocumented custom code is the most common source of surprises during porting.
In air-gapped networks, the build, dependency and container artifacts must be prepared outside the boundary and carried across by an approved transfer process. Customization work therefore has a longer loop: changes are built on one side, reviewed, moved, and then tested on the other. Build tools, base images, dependency sets and test data all need a defined path across the boundary.
- Mirror every dependency: Maven artifacts, base images and operating system packages needed to build a provider must be available inside the enclosure.
- Sign and verify transfers: Record checksums for each artifact moved across the boundary and verify them on arrival.
- Keep test data synthetic: Realms and users used for testing inside the boundary should not carry production personal data unless your policy allows it.
- Plan for a longer release cycle: Each Keycloak minor release and security fix needs to pass through the transfer process before it reaches production.
- Document the air-gap build: Record how each artifact was produced so auditors and security reviewers can trace it.
Confirm your organization's transfer and approval process with the security team before scoping customization, since it determines how often changes can realistically reach production.
What each kind of change costs to keep through upgrades
Upgrade cost depends mostly on how deeply each customization reaches into Keycloak's internals. Theme changes carry the lowest upgrade cost. Login and account themes are mostly templates, styles and message bundles, so the work after a release is usually re-checking pages, labels and translated strings against the new version and confirming that forms still post the fields the server expects. Authentication flows sit in the middle. A custom browser flow or required action depends on how the flow executions, conditions and required actions behave, and those behaviors can change between minor releases. Expect to retest sign-in paths for password, OTP, WebAuthn and recovery code scenarios each time the flow is touched.
SPI extensions carry the highest cost. Custom user storage providers, event listeners and other service provider interface implementations are compiled against Keycloak's internal provider APIs, so a release can break them at build time or change their runtime behavior without a build error. Recent release notes show how behavior changes can reach custom code even when the extension itself is untouched. The 26.8 upgrade notes enforce SMTP StartTLS without plaintext fallback, which affects any custom code or mail configuration that sends notifications, and require signature validation of backchannel logout tokens from external providers, which affects brokered logout flows. Confirm each item against the upgrade notes for your target version before you plan the upgrade.
Keep a separate regression suite for each change type rather than one general test pass. For themes, automate page rendering and form submission for every login and account screen in each supported language. For flows, script each path a user can take, including failure and lockout branches, and assert the resulting events. For SPIs, run the extension's own unit tests, build it against the target release, and run integration tests against a realm that matches production settings. Record which suite covers which change, and ask any implementation partner to price the upgrade effort per suite so that SPI maintenance is visible in the budget rather than discovered at upgrade time.
Which customization work teams keep in-house and which they outsource
This table compares six kinds of Keycloak customization work by who usually owns them and the skills each one needs. Read the middle columns to see whether your own team already has the skills, and the last column to see who should hold the work after handover. The main takeaway is that the ownership of custom code and release decisions should end with your team, even when a partner builds the first version.
| Customization work | Who usually owns it | Skills needed |
|---|---|---|
| Theme design (login and account themes) | Client front-end team, with partner help for the first theme | Web front end (HTML, CSS, FreeMarker templates), accessibility checks, brand review |
| Flow logic (custom authentication flows) | Identity team, with partner design for complex flows | Identity protocol knowledge (OIDC, SAML), understanding of MFA and first-login behavior, Keycloak admin console |
| SPI development (user storage, event listeners, other providers) | Partner for initial build, client engineering for ongoing changes | Java for providers, Keycloak SPI APIs, build and packaging, testing against new releases |
| Security review of custom code | Independent security testing team or partner, with client sign-off | Security testing, Java and template code review, identity protocol knowledge |
| Test automation for realms, flows and themes | Client QA or platform team, built with partner support | Test tooling, scripting against the Keycloak admin API, CI pipeline management |
| Release ownership and upgrade impact | Client platform team, always | Reading upgrade notes, staging environment operation, change approval and rollback planning |
What usually goes wrong with Keycloak customizations
Keycloak customizations sit close to sign-in, the most sensitive path in the stack. The failures below share a pattern: a change that works on day one breaks later, or quietly weakens a control nobody was watching. Each card names the check that prevents it.
Custom code breaks on upgrade
Custom SPIs, authenticators and themes compile against internal interfaces that can change between releases. Keycloak plans four minor releases a year and a major release every two to three years, and it makes breaking changes in minor releases opt-in, but that protects only the platform defaults, not your code. Prevention: pin each customization to a tested Keycloak version, rebuild and run regression logins in a staging realm before every upgrade, and read the upgrade notes for each version you skip.
Keycloak upgrading guideSign-in flow locks users out
A custom browser flow that adds a required step, or an authenticator that fails closed, can block every user at once. Typical causes are a conditional rule that never matches, a missing fallback for users without a registered factor, or a change tested only with an admin account. Prevention: test each flow with a standard user, a user with no second factor, and a user with recovery codes, and keep a break-glass admin path that does not depend on the new flow.
Theme breaks accessibility or localization
Login and account theme edits often change markup, labels or color contrast without anyone checking them against accessibility requirements or the translated message bundles. Screen reader users, keyboard users and users in languages with longer strings can lose the ability to complete sign-in. Prevention: keep templates close to the upstream structure, test keyboard navigation and contrast on every page, and check every supported locale after each theme change.
SPI bypasses brute force or auditing
A custom authenticator, user storage provider or event listener can skip checks the built-in path enforces, such as brute force detection, password policy or event logging. The result is a sign-in path that works but no longer records failures or throttles attackers. Prevention: review each SPI against the built-in behavior it replaces, confirm login failures still reach the event log, and test lockout with repeated wrong passwords through the custom path.
Admin console exposed through customization
A customized theme, a proxy rule or a custom endpoint can expose the admin console or Administration REST API on the same hostname as public pages. Keycloak's production guidance separates the admin console and admin API from public frontend URLs, and a customization that serves files from the wrong path can undo that separation. Prevention: after each change, confirm from outside the network that admin paths are unreachable on public hostnames and that TLS covers every endpoint.
Keycloak production guideUndocumented custom code with no owner
Customizations written by a former contractor or a single engineer often have no design notes, no tests and no named owner. When a release breaks them, nobody knows whether the fault is in the code, the configuration or the platform. Prevention: record each customization with its purpose, Keycloak version, build steps and test cases, assign a named owner, and keep the code in version control with its theme and realm exports.
Why custom code needs the same security review as the product
Custom authenticators, SPIs and themes run inside the identity provider itself, so they carry the same trust as Keycloak. A flawed authenticator can accept weak credentials, a theme can leak tokens or session data into the browser, and a user storage provider can bypass the password policy or brute force settings that the realm enforces. An event listener that drops or alters audit records can hide the very failures you need to investigate. Treat each custom component as part of the identity boundary and give it a named owner, a code review and a security review before it reaches production.
Review each change against the production guidance in the Keycloak production configuration guide. Confirm that TLS covers every connection, including the database, LDAP or Active Directory links used by user federation, and any outbound calls a custom provider makes. Confirm that the admin console and Administration REST API sit on a different hostname or context path from public frontend URLs, and that the reverse proxy restricts the paths it forwards. Ask whether a custom component could change these settings, expose the admin interface or write to the event log, and check the answer in the test environment rather than assuming it.
Test the sign-in paths that the custom code touches, not only the code itself. Walk every login, logout, password reset and account recovery path end to end with the custom authenticator or theme enabled, and confirm that tokens carry the expected claims, that failed logins are recorded, and that brute force protection still triggers. Security testing from DeployOpen can cover the application and the identity layer, including the custom components, and produce a findings report with fixes and a retest. Ask any provider for the scope, the test cases and the retest terms in writing before work starts, because the report reflects only what was in scope.
Recurring costs of maintaining custom Keycloak code
Custom themes, flows and SPI extensions cost more after go-live than during the build, because each Keycloak release can change the interfaces they depend on. The cards below separate the work that repeats with every upgrade from the work that is paid once and then kept current.
Regression testing per release
Recurring. Every minor release needs a test pass over each custom theme page, authentication flow and SPI provider against a realm copy that matches production. Budget for the test environment, the test accounts and the people who run the login scenarios, not only for the code. Ask any partner to state how many realms and flows the regression set covers before the first upgrade is due.
Keycloak upgrading guideReviewing upgrade notes
Recurring. Each release publishes notes on behavior changes, and the project has said breaking changes in minor releases are opt-in. Someone must read the notes, decide which changes touch custom code and record the decision. Treat this as a standing task with an owner, not a reading exercise done once during a project.
Keycloak release updatesRebuilding and redeploying custom artifacts
Recurring. Themes and SPI providers are packaged and deployed alongside the server, so each upgrade means rebuilding the artifacts against the new version, rerunning their build pipeline and redeploying to every environment in order. Check who holds the build pipeline, where the artifacts are stored and whether a rollback path exists for each environment.
Monitoring custom events
Recurring. Event listeners and custom authentication steps emit their own signals, and they need dashboards and alerts that keep working after an upgrade renames or moves a metric. Check that custom events still appear in the logs and metrics pipeline after each change, and that the on-call team knows what a normal volume looks like.
Vendor support boundaries
Confirm first. The Red Hat build of Keycloak is a supported distribution based on the open source project, so its support terms matter if you plan to run customized code on it. Ask Red Hat in writing how its support covers custom themes, authenticators and SPI providers, and what it will not cover, before you choose a distribution.
Red Hat build of KeycloakInternal skills to retain
One-time to build, recurring to keep. The people who wrote the custom code know why it behaves as it does, and that knowledge fades without deliberate effort. Plan for named engineers who can read Java SPI code and theme templates, pair on each upgrade, and document the design. Losing that group is the most common reason a custom build becomes a risk.
Keycloak customization questions buyers ask before hiring help
What drives the cost and time of Keycloak customization?
The biggest drivers are the number of custom components, how far each one reaches into Keycloak internals, and how many environments and realms must be covered. A login theme that only changes styling is far smaller work than a custom authentication flow or a user storage provider that reads from an existing user database. Testing effort rises with each realm, client and sign-in path that must behave the same way. Your own team's time also counts, because reviewing requirements, supplying test accounts and approving changes take internal hours that a quote may not show. Ask for each customization to be listed separately with its dependencies, so the price follows the written scope rather than a general estimate.
Can a Keycloak login theme be built without writing code?
Some visual changes can be made without custom code, such as colors, logos and some text, through the admin console theme settings. Anything beyond that, including new page layouts, extra form fields or localized templates, requires editing theme files such as FreeMarker templates, CSS and message properties, which is developer work. Theme files live outside the server's core code, so they are easier to keep across upgrades than modified binaries, but each template still needs review against the release notes for the version you run. Confirm with your identity team which screens must change and whether the brand team will supply assets, because that decides whether the work is configuration or development.
Are custom Keycloak SPI extensions safe after an upgrade?
They are safe only if they are built against the interfaces that the release notes describe as stable and are tested against each new version before production. Keycloak ships a minor release about four times a year, and the project states that breaking changes in a minor release will be opt-in, but a custom provider can still break when internal classes or behaviors it depends on change. The upgrade cost of an SPI therefore depends on how much of the internal API it touches. Ask any partner to show how the extension is versioned, which Keycloak versions it has been tested on, and what happens when a release changes an interface it uses.
How do upgrades affect custom Keycloak code?
Every upgrade is a review of your customizations against the upgrade notes for each version between your current and target release. Themes need template and message checks, SPIs need compile and runtime checks, and authentication flows need login tests for each path. Database schema migration runs automatically at startup by default, but larger deployments may apply the SQL manually, which changes how custom database objects are handled. Keycloak's operator also recommends manual approval for operator updates to avoid unintended upgrades. Plan upgrade testing as recurring work, because the four minor releases a year create an ongoing cadence rather than a one-time project.
What does your team need to provide for a Keycloak customization project?
Expect to provide named owners for the identity platform and each application, written requirements for every login and account screen, and a list of realms, clients and user sources the changes touch. You will also need a non-production Keycloak environment that matches production closely enough to test, along with test accounts for each user type and access to the source control and build pipeline where custom code will live. Security and compliance reviewers should be available to approve authentication changes, and someone must own the decision on what is in scope. Missing items in this list are a common reason customization timelines slip, so confirm them before the scope is signed.
Can our own team customize Keycloak without outside help?
Yes, many teams do, especially for themes and simple flows, provided they have engineers who can read Keycloak's documentation, write and test Java or template code, and keep the work under version control. The harder question is whether that team can repeat the work for every release and cover the security review of custom authentication logic. Internal teams often underestimate the upgrade and testing load. Compare the skills you have against the server administration guide and upgrade notes, and decide whether the work is a one-time build, a recurring responsibility, or both.
What should we ask a partner to include in a Keycloak customization quote?
Ask for a written scope that lists each theme, flow and SPI separately, with the Keycloak version it targets and the realms and clients it affects. The quote should state what testing is included, which environments are covered, how upgrade support is handled after go-live, and who owns the source code and build artifacts at handover. Ask how the work will be documented and how security review of authentication logic is performed. Request a clear split between one-time build work and any recurring retainer for upgrades or continuous testing. DeployOpen issues quotes from written scope, so a precise scope gives you the most comparable numbers.
What you need to provide before customization starts
The most useful thing you can hand over before customization starts is a written change inventory: every login and account screen you need changed, every authentication flow you want altered, and every SPI extension you expect to build, each with a named owner. Customization work is mostly rework when these are discovered mid-build. Ask the implementation team to walk through the inventory and flag anything that touches a realm, client or external system you have not listed. Keep the inventory in a shared document so that product, security and identity owners can see the same scope.
You also need a non-production Keycloak running the same version you will run in production. Theme templates, custom authenticators and SPI providers are compiled or packaged against a specific release, so a dev instance on a different version will hide breaking changes until go-live. Confirm the exact version with your team, check the current release on the Keycloak site, and agree in writing who maintains that environment and how its realm configuration is kept in step with production. Provide test accounts covering each role, group and federation path the custom screens or flows will see, including accounts that are locked, expired or awaiting MFA enrollment, because these are the states where custom logic most often breaks.
Finally, record the decisions that shape templates and flows: which browsers and devices must be supported, which locales and right-to-left languages are required, and which brand assets (logos, color tokens, fonts, legal text) are approved for use. Document the current sign-in flows as they run today, including any step a user depends on, so the team can reproduce them. For each SPI, such as custom user storage or event listeners, name the person who owns the business logic and the person who owns the external system it calls. Without these owners, questions about expected behavior stall the build and delay acceptance testing.
How customization artifacts move from build to production
Customization starts as theme files and SPI code kept in a source repository under version control. A build step packages them into deployable theme or provider artifacts, which are then tested against the exact Keycloak release the target environment runs. Only tested artifacts are promoted through development, staging and production, and each new Keycloak minor release triggers the same regression loop before the upgrade reaches production. Check that the artifact tested in staging is the same one deployed to production, and that the upgrade loop runs before any version change.
Customization artifacts move from repository to production, with upgrade regression testing feeding back into the same gate.
What you receive at handover
The handover sequence turns the customization work into artifacts your team can review, build, test and maintain without us. Each step closes with a deliverable you can check before the next one starts. The final package should let a Keycloak administrator and a developer own every theme, flow and extension after go-live.
Hand over source for themes and providers
DeployOpen delivers the source for every login theme, account theme, custom authentication flow definition and SPI extension in a repository your team controls. Each theme and provider is kept separate from the Keycloak base image so it can be reviewed and versioned on its own. Your team confirms it can open the repository, see the commit history and read the code without access to our internal tooling. The step is complete when your engineers have cloned the repository and matched it to what is running in the staging environment.
Provide build and deployment instructions
DeployOpen writes the steps to compile each SPI, package each theme and deploy them into the Keycloak runtime in your environment. The instructions cover the build tooling versions, the container or artifact build, the configuration keys that enable each customization, and the order in which changes must be applied. Your platform team should be able to rebuild the artifacts from a clean checkout and reach the same result. The step is complete when a fresh build in your pipeline produces artifacts that match the ones deployed in staging.
Deliver the automated test suite and results
DeployOpen provides the test suite covering sign-in pages, authentication flow branches, extension behavior and the events each listener emits, along with the results from the last run in your staging environment. Tests should be runnable by your team in the pipeline without special access. Ask for the list of what is covered and what is not, so gaps are visible before go-live. The step is complete when the suite runs in your environment and every result is recorded against a named Keycloak version.
Map an upgrade checklist to each customization
DeployOpen produces a checklist that lists each theme, flow and SPI extension and the Keycloak APIs, templates or behaviors it depends on. For each item, the checklist names the upgrade notes to read, the tests to rerun and the person who signs off. This is the document your team uses when moving to a later minor release, since the project plans four minor releases a year and breaking changes in minor releases are opt-in. The step is complete when your team has walked through the checklist once against the current release and agreed on who owns each item.
Document ownership and support boundaries
DeployOpen writes an ownership document that states who maintains each customization after handover, which parts are internal to your team and which are covered by any retainer you agree to separately. It also records the repository locations, build pipeline owners, environment access and the escalation path for a failed sign-in. Confirm the document with your identity and platform leads, since the names and roles must match your organization. The step is complete when both teams have signed the document and it is stored with the runbook.
Confirm the handover package with your team
Your identity administrator and at least one developer walk through the complete package together, including a live sign-in through each custom flow and a trigger of each extension. Any gap found here is logged and assigned to a named owner before the engagement closes. Ask us to show the exact commit that corresponds to the version in production. The step is complete when your team accepts the package in writing under the terms of the agreed scope.
How DeployOpen scopes, builds and supports Keycloak customization
DeployOpen plans, builds, tests and documents Keycloak customizations inside the client's own infrastructure, so the client's identity, security and compliance teams own the result. Each engagement starts from a written scope that names every theme, flow and extension, and each change is handed over with the notes an upgrade team needs.
How we scope
- Inventory every login and account theme, custom flow and SPI extension the client needs before any build starts.
- Record which Keycloak version, database and deployment method the customizations must run on.
- Agree in writing which upgrade paths and future minor releases the customizations must survive.
How we build
- Build themes and flows in a non-production realm, then promote them through environments with the same configuration.
- Write and test SPI extensions against the Keycloak version the client runs, with automated tests for each release tested.
- Test sign-in, account pages and failure paths with real user scenarios before any production cutover.
How we hand over
- Deliver source code, build instructions and deployment steps for every custom artifact in the agreed scope.
- Document each customization with its upgrade cost, known dependencies on Keycloak internals and the test cases that cover it.
- Walk the client's platform and identity teams through the handover so they can run and change the customizations.
How we support
- Engagements are fixed-scope, and ongoing support, upgrades and continuous testing are available as a retainer.
- Review each new Keycloak minor release against the custom code and the upgrade notes before the client upgrades.
- Confirm with the client which support hours, response expectations and retest rules apply in the written agreement.

