zitadel/internal/idp/providers/ldap
Stefan Benz d92717a1c6
fix: encode ldap values to make valid UTF8 (#8210)
# Which Problems Are Solved

UUIDs stored in LDAP are Octet Strings and have to be parsed, so that
they can be stored as IDs as they are not valid UTF8.

# How the Problems Are Solved

Try to parse the RawValue from LDAP as UUID, otherwise try to base64
decode and then parse as UUID, else use the data as string as before.

# Additional Changes

None

# Additional Context

Closes #7601
2024-06-28 13:46:54 +00:00
..
ldap_test.go feat: ldap provider login (#5448) 2023-03-24 15:18:56 +00:00
ldap.go fix: improve login_hint usage on IDPs (#6899) 2023-11-13 09:25:26 +01:00
session_test.go feat: add ldap external idp to login api (#5938) 2023-08-16 11:29:57 +00:00
session.go fix: encode ldap values to make valid UTF8 (#8210) 2024-06-28 13:46:54 +00:00
user.go feat: add ldap external idp to login api (#5938) 2023-08-16 11:29:57 +00:00