[keycloak-user] common roles within multiple clients

Tair Sabirgaliev tair.sabirgaliev at bee.kz
Sat Aug 1 23:31:53 EDT 2015


Why not specify roles at realm level and apply them once for a user?

http://keycloak.github.io/docs/userguide/html/roles.html


> On 2 авг. 2015 г., at 3:03, Tim Dudgeon <tdudgeon.ml at gmail.com> wrote:
>
> I have a keycloak realm that contains a number of clients (app1, app2,
> app3 ...).
> Those clients share a set of common roles (user, editor, manager ...).
> Is there a way I can directly assign those roles to the keycloak user so
> that they apply across all clients?
> The only approach I can find is to set up each of those roles for every
> client (e.g. for 5 clients set up 5 sets of identical roles) and then
> for each client apply the relevant roles to each of the users (e.g.
> repeat the same process for every user/client combination).
> Is there a better way?
>
> Thanks
> Tim
> _______________________________________________
> 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