8000 BACKPORT: Share theme-resources.ftl via ThemeResourceProvider (#55518) by edewit · Pull Request #55583 · keycloak/keycloak · GitHub
[go: up one dir, main page]

Skip to content

BACKPORT: Share theme-resources.ftl via ThemeResourceProvider (#55518) - #55583

Open
edewit wants to merge 1 commit into
keycloak:release/26.8from
edewit:backport-55518-26.8
Open

edewit wants to merge 1 commit into
keycloak:release/26.8from
edewit:backport-55518-26.8

Conversation

@edewit
@edewit edewit commented Nov 26, 2026
Copy link
Copy Markdown
Contributor
  • Share theme-resources.ftl via ThemeResourceProvider

Product builds skip resources-community, so admin and account consoles
failed to find theme-resources.ftl. Serve one shared copy from
theme-resources/templates instead of duplicating it per theme type.

Closes #55514

Signed-off-by: Erik Jan de Wit erikjan.dewit@gmail.com

  • Add regression test for shared theme-resources.ftl resolution

Cover ThemeResourceProvider fallback for login, admin, and account, and
verify a custom theme-local copy still takes precedence.

Closes #55514

Signed-off-by: Erik Jan de Wit erikjan.dewit@gmail.com


Signed-off-by: Erik Jan de Wit erikjan.dewit@gmail.com
(cherry picked from commit 7c669fe)

* Share theme-resources.ftl via ThemeResourceProvider

Product builds skip resources-community, so admin and account consoles
failed to find theme-resources.ftl. Serve one shared copy from
theme-resources/templates instead of duplicating it per theme type.

Closes keycloak#55514

Signed-off-by: Erik Jan de Wit <erikjan.dewit@gmail.com>

* Add regression test for shared theme-resources.ftl resolution

Cover ThemeResourceProvider fallback for login, admin, and account, and
verify a custom theme-local copy still takes precedence.

Closes keycloak#55514

Signed-off-by: Erik Jan de Wit <erikjan.dewit@gmail.com>

---------

Signed-off-by: Erik Jan de Wit <erikjan.dewit@gmail.com>
(cherry picked from commit 7c669fe)
@mabartos mabartos left a comment
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, thanks!

@stianst stianst self-assigned this Nov 26, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Admin and account consoles fail in product builds: theme-resources.ftl not found

3 participants

0