I don't have a direct answer for you, but you could try assigning a client
role to a user using the Admin Console and then listing the users via the
Admin Rest API to see the format.
Regards,
Geoffrey Cleaves
On Sun, 18 Nov 2018 at 17:03, Shubham Akodiya <sakodiya(a)grepruby.com> wrote:
Hi,
I want to assign the clientRoles while creating the user. I've gone through
the link
https://www.keycloak.org/docs-api/4.5/rest-api/index.html#_userrepresenta...
but
here the format of clientRoles is not specified. (It specified as a map but
no other info provided)
Could you please tell me how to assign the clientRoles while creating the
user through API?
Thanks,
Shubham Akodiya
_______________________________________________
keycloak-user mailing list
keycloak-user(a)lists.jboss.org
https://lists.jboss.org/mailman/listinfo/keycloak-user