[keycloak-user] How to handle multivalued custom attributes in account client?

Federico Navarro Polo - Info.nl federico at info.nl
Mon Jun 19 05:44:25 EDT 2017


Hello,

I’m facing a scenario where I have defined a custom attribute as multivalued. It works all fine using the REST admin API, and while in the Keycloak admin console is displayed as a ‘##’ separated string, it’s also functional in terms of displaying/editing the values.

However, when it comes to adding the attribute to the account client, it apparently only shows the first element of the attribute, and I get the following log trace:

>>> [org.keycloak.forms.account.freemarker.model.AccountBean] (default task-41) There are more values for attribute 'additionalProductIds' of user 'somebody at somewhere.com' . Will display just first value

Am I overlooking some configuration to enable the handling of multivalued custom attributes?




Met vriendelijke groet,

Federico Navarro

backend developer

federico at info.nl<mailto:federico at info.nl>  |  LinkedIn<http://www.linkedin.com/in/jasperleferink>  |  +31 (0)2 05 30 91 61<tel:+31205309161>

info.nl<http://www.info.nl/>

Sint Antoniesbreestraat 16  |  1011 HB Amsterdam  |  +31 (0)20 530 9100<tel:+31205309100>




More information about the keycloak-user mailing list