Add property mailalias mapping

This commit is contained in:
Ruben Hensen
2026-04-05 22:36:44 +02:00
parent abe8fc348e
commit 91812829c6
2 changed files with 14 additions and 2 deletions
+11
View File
@@ -8,6 +8,15 @@ data:
metadata:
name: LDAP Provider
entries:
- model: authentik_providers_ldap.ldapprovidermapping
id: ldap-mail-aliases-mapping
state: present
identifiers:
name: "Mail Aliases"
attrs:
name: "Mail Aliases"
expression: |
return {"mailAlternativeAddress": list(request.user.attributes.get("mailAliases", []))}
- model: authentik_providers_ldap.ldapprovider
id: ldap-provider
state: present
@@ -21,6 +30,8 @@ data:
bind_mode: cached
search_mode: cached
mfa_support: false
extra_property_mappings:
- !KeyOf ldap-mail-aliases-mapping
- model: authentik_core.application
id: ldap-app
state: present