Deploying Keycloak template breaks the server (Migration to Quarkus) #28548
Closed
niklassc7
started this conversation in
Keycloak.X - Quarkus distribution
Replies: 1 comment
-
Bundling the template with the jar solved the issue. Instead of placing the template within the |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I'm trying to migrate a custom template from pre-Quarkus to Keycloak Quarkus (24.0.1).
It is located at
<KEYCLOAK_HOME>/themes/base/login/consent-required-action.ftl
.The template looks as follows:
As soon as this template is uploaded and the web-interface is accessed it gives an "Internal Server Error" on the website and the keycloak-service logs the following error:
What is strange is that this happens without any provider uploaded that uses this template, nor the template being selected in the web-interface.
Also the error fails to process, not the theme
consent-required-action.ftl
ortemplate.ftl
which is imported in the first, but rather it fails to processlogin.ftl
which is seemingly unrelated (Not imported inconsent-required-action.ftl
nor intemplate.ftl
).I checked if the referenced theme
template.ftl
is also available in the Quarkus version, and while it has been moved from<KEYCLOAK_HOME>/themes/base/login/template.ftl
to the jar located at<KEYCLOAK_HOME>/lib/lib/main/org.keycloak.keycloak-themes-24.0.1.jar
in which it has the paththeme/base/login/template.ftl
, it does still exist and has no notable changes.Beta Was this translation helpful? Give feedback.
All reactions