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(a)lists.jboss.org
https://lists.jboss.org/mailman/listinfo/keycloak-user
--
Bill Burke
JBoss, a division of Red Hat
http://bill.burkecentral.com