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
I am facing an issue while trying the dynamic-email-code-auth-extension. keycloak_1 | Caused by: org.keycloak.email.EmailException: Failed to template plain text email. keycloak_1 | at [email protected]//org.keycloak.email.freemarker.FreeMarkerEmailTemplateProvider.processTemplate(FreeMarkerEmailTemplateProvider.java:221) keycloak_1 | ... 84 more keycloak_1 | Caused by: org.keycloak.theme.FreeMarkerException: Failed to process template text/code-email.ftl keycloak_1 | at [email protected]//org.keycloak.theme.FreeMarkerUtil.processTemplate(FreeMarkerUtil.java:71) keycloak_1 | at [email protected]//org.keycloak.email.freemarker.FreeMarkerEmailTemplateProvider.processTemplate(FreeMarkerEmailTemplateProvider.java:219) keycloak_1 | ... 84 more keycloak_1 | Caused by: freemarker.template.TemplateNotFoundException: Template not found for name "text/code-email.ftl". keycloak_1 | The name was interpreted by this TemplateLoader: org.keycloak.theme.FreeMarkerUtil$ThemeTemplateLoader@112de407. keycloak_1 | at [email protected]//freemarker.template.Configuration.getTemplate(Configuration.java:2883) keycloak_1 | at [email protected]//freemarker.template.Configuration.getTemplate(Configuration.java:2703)
I didn't understand wht you mean by : // Don't forget to add the welcome-email.ftl (html and text) template to your
// theme.
emailProvider.send("emailCodeSubject", subjectParams, "code-email.ftl", mailBodyAttributes);
Thank you.
The text was updated successfully, but these errors were encountered:
Hello thank you for your wonderful examples,
I am facing an issue while trying the dynamic-email-code-auth-extension.
keycloak_1 | Caused by: org.keycloak.email.EmailException: Failed to template plain text email. keycloak_1 | at [email protected]//org.keycloak.email.freemarker.FreeMarkerEmailTemplateProvider.processTemplate(FreeMarkerEmailTemplateProvider.java:221) keycloak_1 | ... 84 more keycloak_1 | Caused by: org.keycloak.theme.FreeMarkerException: Failed to process template text/code-email.ftl keycloak_1 | at [email protected]//org.keycloak.theme.FreeMarkerUtil.processTemplate(FreeMarkerUtil.java:71) keycloak_1 | at [email protected]//org.keycloak.email.freemarker.FreeMarkerEmailTemplateProvider.processTemplate(FreeMarkerEmailTemplateProvider.java:219) keycloak_1 | ... 84 more keycloak_1 | Caused by: freemarker.template.TemplateNotFoundException: Template not found for name "text/code-email.ftl". keycloak_1 | The name was interpreted by this TemplateLoader: org.keycloak.theme.FreeMarkerUtil$ThemeTemplateLoader@112de407. keycloak_1 | at [email protected]//freemarker.template.Configuration.getTemplate(Configuration.java:2883) keycloak_1 | at [email protected]//freemarker.template.Configuration.getTemplate(Configuration.java:2703)
I didn't understand wht you mean by : // Don't forget to add the welcome-email.ftl (html and text) template to your
// theme.
emailProvider.send("emailCodeSubject", subjectParams, "code-email.ftl", mailBodyAttributes);
Thank you.
The text was updated successfully, but these errors were encountered: