Hello Jon,
Open your federation provider settings, go to the Mappers tab, create a mapper of type
hardcoded-ldap-role-mapper, and type in role name (role selector seems to be broken
unfortunately).
Repeat for every other role you need. Good luck :)
Dmitry Telegin
CTO, Acutus s.r.o.
Keycloak Consulting and Training
Pod lipami street 339/52, 130 00 Prague 3, Czech Republic
+42 (022) 888-30-71
E-mail: info(a)acutus.pro
On Tue, 2019-01-22 at 16:37 +0800, Jon Huang wrote:
Hi everyone,
Please forgive me if this issue was ever asked previously.
I would like to know if it is possible to assign role to specific
federation provider?
(for example below, user1 & 2 has role1 and user3 has role2)
It's hard to assign role to user one by one via UI. (too many users)
Nor default group can only assign role to every user.
Or is there any other way to achieve the goal?
Thanks
[image: image.png]
_______________________________________________
keycloak-user mailing list
keycloak-user(a)lists.jboss.org
https://lists.jboss.org/mailman/listinfo/keycloak-user