[keycloak-user] Refill custom attributes in registration template
Stian Thorgersen
stian at redhat.com
Mon Aug 31 07:22:49 EDT 2015
1.5 which will be released soon will include an example theme that adds address fields to the registration page. In the mean time you can have a look at https://github.com/keycloak/keycloak/tree/master/examples/themes/src/main/resources/theme/address
----- Original Message -----
> From: "Klemen Ferjančič" <imbacen at gmail.com>
> To: keycloak-user at lists.jboss.org
> Sent: Tuesday, 25 August, 2015 8:51:36 AM
> Subject: [keycloak-user] Refill custom attributes in registration template
>
> Hi
>
> Sorry if this is a duplicate, seems like last email was lost in moderation.
>
> I can't seem to customize the keycloak registration page with
> custom attributes that would refill upon failure. Regular fields have
> the value set like: value="${(register.formData.email!'')?html}" so I
> tried the same approach for the custom fields. I tried:
> value="${(register.formData.user.attributes.mobile!'')?html}"
> value="${((user.attributes.mobile)!'')?html}"
> value="${(user.attributes.mobile)!''}"
>
> ..and probably 10 other combinations but nothing works. I also did not
> find anything in the documentation. What is the correct value expression
> that would refill custom attributes upon POST failure?
>
> Best regards, cen
> _______________________________________________
> 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