Keycloak-与LDAP同步后,角色中的用户丢失 [英] Keycloak - Users in Role missing after sync with LDAP

查看:1277
本文介绍了Keycloak-与LDAP同步后,角色中的用户丢失的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我将LDAP配置为用户联合身份(带有role-ldap-mapper),并将具有角色的用户成功导入Keycloak. 当我转到用户"->"{用户}"->角色映射"时,我看到签名给用户的每个角色(从LDAP导入),但是当我转到角色"->"{角色}"->角色中的用户"时,看不到任何内容.

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?

用户角色

角色中的空用户

LDPA角色映射器配置

推荐答案

我遇到了同样的问题.我将模式"(在LDAP角色映射器内部)更改为导入",而不是READ_ONLY,因此我可以看到某个角色下的用户.

I faced the same issue. I changed the Mode (inside LDAP role mapper) to Import instead of READ_ONLY and I was able to see users under a role.

这篇关于Keycloak-与LDAP同步后,角色中的用户丢失的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆