Meeds-io / meeds

The Meeds Association provides its members with an employee recognition software implementation. The employee recognition software is fueled by the Meeds ERC-20 tokens.
https://meeds.io
GNU Lesser General Public License v3.0
280 stars 8 forks source link

AD/LDAP: Allow importing user avatar from the server #2203

Open hbenali opened 1 week ago

hbenali commented 1 week ago

Is your feature request related to a problem? Please describe. Some ad servers/LDAPs provide their users' avatars as a profile attribute (base64 format). However, the platform does set them as profile pictures.

Describe the solution you'd like Actually, we can specify custom attributes as follows:

# LDAP Mapping
exo.ldap.users.attributes.custom.names=company,department
exo.ldap.users.attributes.company.mapping=company
exo.ldap.users.attributes.department.mapping=department

We would like to add an attribute called extAvatar as the default external avatar. When creating the user profile. The platform will check for this optional attribute and set the converted base64 avatar.

Thanks