Please use keycloak-user mailing list for queries. The keycloak-dev
mailing list is dedicated for discuss the development of new stuff to
Keycloak.
Thanks,
Marek
On 04. 10. 19 12:51, Stuart wrote:
Hi All,
I'm looking to extend the Password Reset code so I can include a setting
for choosing the FTL template to use during the authentication flow.
I've managed to do it with the Choose User provider by calling createForm
if a template is set..
String ftl_template = getConfigString(config, CONF_FTL_TEMPATE_NAME, null);
if (ftl_template == null) {
Response challenge = context.form().createPasswordReset();
context.challenge(challenge);
} else {
Response challenge = context.form().createForm(ftl_template);
context.challenge(challenge);
}
However, I can't find/work out where the Password Reset provider sets the
form for the challenge. It seems the authenticate method just sets
context.success() after setting the 'required action' in the
authenticationSessison...
Can anybody point me in the right direction?
Thanks,
Stuart
_______________________________________________
keycloak-dev mailing list
keycloak-dev(a)lists.jboss.org
https://lists.jboss.org/mailman/listinfo/keycloak-dev