UPN
of an active directory user:user_upn
upn
return {
"ak_proxy": {
"user_attributes": {
"additionalHeaders": {
"x-authentik-upn": request.user.attributes.get('upn', None) if not request.user.email else request.user.email
}
}
}
}
user_upn
x-authentik-upn