Use canonical organization e-mail in OIDC data.
[cas.git] / src / cas / utils.py
1 def custom_attributes_callback(user):
2     return {
3         'email': user.email,
4         'firstname': user.first_name,
5         'lastname': user.last_name,
6     }