You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Adds a dedicated PatternFly 6 migration guide for custom login, welcome, Account Console, and Admin Console themes in Keycloak 27, and links it from the upgrading guide and release notes.
The reason will be displayed to describe this comment to others. Learn more.
🟡 Changes recommended
The migration guidance references unavailable theme parents, feature versions, and helper scripts, and includes settings that break theme inheritance or fail startup validation.
Adds a dedicated custom-theme migration guide for Keycloak 27’s PatternFly 6 transition, addressing #52348 and connecting it to the existing upgrade documentation.
Changes:
Documents theme parents, feature flags, migration helpers, and validation steps for login, welcome, Account Console, and Admin Console themes.
Expands version-specific upgrade notes and release notes.
Adds shared migration-link and upgrading-guide label support.
The reason will be displayed to describe this comment to others. Learn more.
🟡 Changes recommended
The migration documentation omits source-checkout and Node.js/npm prerequisites and misstates automation eligibility and the common-directory layout, potentially causing failed commands or incorrect migration expectations.
The commands below assume a Keycloak source checkout, but misc/scripts/ is not included in the server distribution, so users running them from their installation will get a missing-module error. Add instructions for obtaining the source checkout and running from its root, and mention the Node.js/npm prerequisites required by the script's npx calls.
Clarify that common/ must be inside the theme root
resolveSiblingCommonDir() resolves common/ inside the theme root, as a sibling of login/, not as a sibling of the theme root. Document that layout explicitly so users do not expect a shared directory beside their theme to be migrated.
Provide a dedicated migration guide for login, welcome, account, and admin
custom themes in Keycloak 27, and link it from the upgrading and release notes.
Closeskeycloak#52348
Signed-off-by: Erik Jan de Wit <erikjan.dewit@gmail.com>
Point upgrading and release notes at the published Migration guides
section instead of the not-yet-published direct guide URL.
Signed-off-by: Erik Jan de Wit <erikjan.dewit@gmail.com>
The reason will be displayed to describe this comment to others. Learn more.
🟡 Changes recommended
The migration documentation omits the required shared-library switch and lockfile refresh, duplicates an Account Console migration section, and misstates the common directory’s location.
The built-in Account Console is now the `keycloak.v4` theme, based on PatternFly 6.
The previous `keycloak.v3` Account Console theme and the `account:v3` feature value have been removed.
For new realms, `keycloak.v4` is the default Account Console theme when the `account:v4` feature is enabled (the default).
Existing realms that explicitly use `keycloak`, `keycloak.v2`, or `keycloak.v3` as the account theme are migrated to `keycloak.v4` during upgrade.
Custom account themes are left unchanged.
If you maintain a custom Account Console theme that extends or copies `keycloak.v3`, migrate it to PatternFly 6 before switching its parent to `keycloak.v4`.
For Account UI *source checkouts* (a directory whose `package.json` name is `@keycloak/keycloak-account-ui`), run PatternFly's React and CSS codemods (`@patternfly/pf-codemods`, `@patternfly/css-vars-updater`, `@patternfly/class-name-updater`).
Those tools do not rewrite installed or inherited theme directories under `themes/`.
For CSS-only custom themes that only override resources of `keycloak.v3`, update PatternFly 5 classes and CSS variables to PatternFly 6 manually.
If you explicitly enable `account:v3` (for example `--features=account:v3` or `KC_FEATURES=account:v3`), replace it with `account:v4`, or remove the entry because `account:v4` is enabled by default.
Servers that still request `account:v3` fail feature validation at startup.
See also *Migrating custom themes to PatternFly 6* in the https://www.keycloak.org/guides#migration[Migration guides].
If you maintain a fork of `@keycloak/keycloak-account-ui` (or an equivalent source package that reuses those components):
. Upgrade `@patternfly/react-core` and related PatternFly packages to PatternFly 6.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Adds a dedicated PatternFly 6 migration guide for custom login, welcome, Account Console, and Admin Console themes in Keycloak 27, and links it from the upgrading guide and release notes.
Closes #52348