Keycloak 19 doesn't load theme-resources #26
Unanswered
peyman1372
asked this question in
Q&A
Replies: 2 comments 4 replies
-
Yes, there's something what crashes. |
Beta Was this translation helpful? Give feedback.
4 replies
-
I got the same error using keycloak 18.0.0 and spring boot 2.6.7. The thing is freemarker cannot find target template in resource folder and I don't know how to force it to look at the 'theme-resources' folder. |
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
-
Hi, I'm getting this error with Keycloak 19, Keycloak 18 works fine
2022-08-08 13:00:10,092 ERROR [org.keycloak.forms.login.freemarker.FreeMarkerLoginFormsProvider] (executor-thread-19) Failed to process template: org.keycloak.theme.FreeMarkerException: Failed to process template login-sms.ftl at org.keycloak.theme.FreeMarkerUtil.processTemplate(FreeMarkerUtil.java:71) at org.keycloak.forms.login.freemarker.FreeMarkerLoginFormsProvider.processTemplate(FreeMarkerLoginFormsProvider.java:524) at org.keycloak.forms.login.freemarker.FreeMarkerLoginFormsProvider.createForm(FreeMarkerLoginFormsProvider.java:326) at dasniko.keycloak.authenticator.SmsAuthenticator.authenticate(SmsAuthenticator.java:69) at org.keycloak.authentication.DefaultAuthenticationFlow.processSingleFlowExecutionModel(DefaultAuthenticationFlow.java:446) at org.keycloak.authentication.DefaultAuthenticationFlow.processFlow(DefaultAuthenticationFlow.java:250) at org.keycloak.authentication.DefaultAuthenticationFlow.processSingleFlowExecutionModel(DefaultAuthenticationFlow.java:381) at org.keycloak.authentication.DefaultAuthenticationFlow.continueAuthenticationAfterSuccessfulAction(DefaultAuthenticationFlow.java:18
Keycloak 19 can't load any data from "theme-resources" folder, and the error happens in SmsAuthenticator class when it starts loading data from the folder.
Beta Was this translation helpful? Give feedback.
All reactions