fix: split keycloak config

This commit is contained in:
2023-01-15 11:41:52 +01:00
parent 6c8718e948
commit 0d63e8855b
3 changed files with 91 additions and 71 deletions

View File

@@ -18,6 +18,7 @@
editMode: WRITABLE
importEnabled: true
syncRegistrations: true
fullSyncPeriod: 600
vendor: other
usernameLDAPAttribute: uid
rdnLDAPAttribute: uid
@@ -92,3 +93,20 @@
read.only: true
user.model.attribute: createTimestamp
ldap.attribute: createTimestamp
- name: "group-mapper"
providerId: "group-ldap-mapper"
providerType: "org.keycloak.storage.ldap.mappers.LDAPStorageMapper"
config:
membership.attribute.type: "DN"
group.name.ldap.attribute: "cn"
preserve.group.inheritance: true
membership.user.ldap.attribute: "uid"
groups.dn: "ou=groups,{{ ldap_suffix }}"
mode: "LDAP_ONLY"
user.roles.retrieve.strategy: "LOAD_GROUPS_BY_MEMBER_ATTRIBUTE"
ignore.missing.groups: false
membership.ldap.attribute: "member"
group.object.classes: "groupOfNames"
memberof.ldap.attribute: "memberOf"
groups.path: "/"
drop.non.existing.groups.during.sync : true