authentik icon indicating copy to clipboard operation
authentik copied to clipboard

LDAP property mapping duplicate key

Open boesr opened this issue 1 year ago • 1 comments

Describe your question/ I created a ldap property mapping for a custom attribute "myattribute". The attribute can exist multiple times for one user with different values. When testing the mapping I get returned the correct value if the attribute exists once, otherwise I get Value must be a dictionary, and not have any duplicate keys.. Is it possible to map duplicate values to an array and assign that to a attribute of the user?

Version and Deployment (please complete the following information):

  • authentik version: 2024.6.3
  • Deployment: docker-compose

boesr avatar Aug 20 '24 06:08 boesr

The actual mapping does work. The type of the attribute is an array. Seems more like a 'bug' of the test interface. It should allow duplicate keys to simulate the AD.

boesr avatar Aug 20 '24 07:08 boesr