[keycloak-user] CUstom authentication flow
Marek Posolda
mposolda at redhat.com
Wed May 11 03:31:06 EDT 2016
Maybe if you copy just to "keycloak/themes/base/login", but not to
"keycloak/themes/keycloak/login" ? Besides that, the error is different
then in the JIRA you linked. You have "Failed to process template" .
Didn't you any changes in the security-question-config.ftl? Adding whole
stacktrace might be better though...
Marek
On 10/05/16 15:51, Tech @ PSYND wrote:
> Dear experts,
>
> I'm working with version 1.9.4 of the product, I'm developing a couple
> of custom forms that should be integrated into an authentication
> workflow.
>
> Following the example integrated into the product:
> 1) I compiled the "org.keycloak.examples.authenticator"
> 2) I copied the "secret'question.ftl" and "secret'question'config.ftl"
> files into the keycloak/themes/keycloak/login and
> keycloak/themes/base/login
> 3) I moved the generated jar file
> "authenticator-required-action-example.jar" into keycloak/providers
> 4) I opened the admin console, I create a new flow consisting of
> "Username and passowrd" and "Secret-question".
>
> I try to login with a user and the error message that I get is:
>
> 15:36:26,319 ERROR
> [org.keycloak.forms.login.freemarker.FreeMarkerLoginFormsProvider]
> (default task-15) Failed to process template:
> org.keycloak.theme.FreeMarkerException: Failed to process template
> secret-question-config.ftl
>
> That is compatible with what I found here:
> https://issues.jboss.org/browse/KEYCLOAK-2534
>
> But I copied the files in the correct position: what else could cause
> such error?
>
> Thanks
>
>
>
>
>
>
>
>
>
> _______________________________________________
> keycloak-user mailing list
> keycloak-user at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/keycloak-user
More information about the keycloak-user
mailing list