问题
I configured LDAP as User Federation (with role-ldap-mapper) and successfully imported users with their roles to Keycloak. When I go to Users->{user}->Role Mappings I see every roles that are signed to a user (imported from LDAP), but when I go to Roles->{role}->Users In Role I see nothing.
Is it a bug or a feature? Or maybe I configure something wrong?
Users roles
Empty Users in Roles
LDPA Role mapper configuration
回答1:
Please create mapper of type msad-lds-user-account-control-mapper.
It works for me.
来源:https://stackoverflow.com/questions/47509352/keycloak-users-in-role-missing-after-sync-with-ldap