You can't assign roles during client registration as that wouldn't be safe
On Wed, 18 Sep 2019, 17:50 Pavel Micka, <Pavel.Micka(a)zoomint.com> wrote:
Hello,
We are currently trying to use client registration policy, so our services
can register themselves in Keycloak. The registration itself works
perfectly, but we have one (big) issue: we do not know, how to assign roles
to the associated service account in the ClientRepresentation (as without
roles for the client, the registration is a bit useless for us).
Is there any way, how to assign roles (client roles of other services in
our case) to service account during automatic registration? Or do we need
an admin account to do that.
Thanks,
Pavel
_______________________________________________
keycloak-user mailing list
keycloak-user(a)lists.jboss.org
https://lists.jboss.org/mailman/listinfo/keycloak-user