dexidp / dex

OpenID Connect (OIDC) identity and OAuth 2.0 provider with pluggable connectors
https://dexidp.io
Apache License 2.0
9.45k stars 1.7k forks source link

Map LDAP attributes to claims #552

Open roidelapluie opened 8 years ago

roidelapluie commented 8 years ago

the LDAP connector could get additional claims in its config, based on LDAP fields.

e.g:

{
  'available_claims':
  {
    'postal_code': 'postalCode'
  }
}
ericchiang commented 8 years ago

See #536 for some additional discussion around the LDAP connector. Overall, we should add a proposal on a good way to be more expressive with LDAP expressions.