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.
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 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.
Those upstream PatternFly tools operate on an Account UI *source checkout*.
They do not rewrite installed or inherited theme directories under `themes/`.
=== CSS-only account themes
If your custom account theme only overrides resources of `keycloak.v3`:
. Change `parent=` to `keycloak.v4`.
. Update PatternFly 5 classes and CSS variables to PatternFly 6 manually; the helper script does not process those theme directories.
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