Dear Dmitry
Thanks for your help.
I find there is Mappers tab with ldap provider.
However I wrote custom federation provider via user storage SPI and there
is no Mappers tab.
(I can only see my Required Settings page)
Did I miss some implementation work or user storage SPI does not support
mappers binding?
Regards
Dmitry Telegin <dt(a)acutus.pro> 於 2019年1月23日 週三 上午6:26寫道:
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