[keycloak-user] Refill custom attributes in registration template

Klemen Ferjančič imbacen at gmail.com
Tue Aug 25 02:51:36 EDT 2015


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


More information about the keycloak-user mailing list