[keycloak-user] [Identity Providers] set default roles for a Client

Bill Burke bburke at redhat.com
Mon Nov 23 14:31:48 EST 2015


You have to use the HardcodedRole mapper.

On 11/23/2015 1:22 PM, Pavel Maslov wrote:
> Hello everyone,
>
>
> Is it possible to set default roles to all users of an Identity Provider
> (e.g. github)?
> Usecase: I have a client registered in my realm. This client has a set
> of roles. I would like to apply those roles to all github users (no
> manual assigning).
>
> Thanks.
>
> Regards,
> Pavel Maslov, MS
>
>
> _______________________________________________
> keycloak-user mailing list
> keycloak-user at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/keycloak-user
>

-- 
Bill Burke
JBoss, a division of Red Hat
http://bill.burkecentral.com


More information about the keycloak-user mailing list