This repository has been archived on 2023-08-14. You can view files and clone it, but cannot push or open issues or pull requests.
dex/examples
Vitaliy Dmitriev f2e7823db9 connector/ldap: add multiple user to group mapping
Add an ability to fetch user's membership from
  groups of a different type by specifying multiple
  group attribute to user attribute value matchers
  in the Dex config:

    userMatchers:
    - userAttr: uid
      groupAttr: memberUid
    - userAttr: DN
      groupAttr: member

  In other words the user's groups can be fetched now from
  ldap structure similar to the following:

    dn: cn=john,ou=People,dc=example,dc=org
    objectClass: person
    objectClass: inetOrgPerson
    sn: doe
    cn: john
    uid: johndoe
    mail: johndoe@example.com
    userpassword: bar

    dn: cn=qa,ou=Groups,ou=Portland,dc=example,dc=org
    objectClass: groupOfNames
    cn: qa
    member: cn=john,ou=People,dc=example,dc=org

    dn: cn=logger,ou=UnixGroups,ou=Portland,dc=example,dc=org
    objectClass: posixGroup
    gidNumber: 1000
    cn: logger
    memberUid: johndoe

Signed-off-by: Vitaliy Dmitriev <vi7alya@gmail.com>
2020-01-03 10:40:21 +01:00
..
grpc-client Add VerifyPassword to API 2019-07-22 10:23:07 +02:00
k8s Kubernetes example: Add RBAC resources and serviceAccount to YAML manifest, remove some references to deprecated TPR approach 2018-11-23 10:48:00 +00:00
.gitignore *: add sql storage options to dex application 2016-10-03 12:48:26 -07:00
config-ad-kubelogin.yaml connector/ldap: add multiple user to group mapping 2020-01-03 10:40:21 +01:00
config-dev.yaml Add examples for recent additions to oauth2 configuration options 2019-08-09 11:58:37 -05:00
config-ldap.ldif *: add standup script for LDAP 2017-08-22 10:37:29 -07:00
config-ldap.yaml connector/ldap: add multiple user to group mapping 2020-01-03 10:40:21 +01:00