- Mark Sapiro (mark@msapiro.net) [210922 20:46]:
On 9/22/21 11:22 AM, cfarley@iastate.edu wrote:
I have a new mailman3 install setup with Okta as a social application. This is working well for logins and data comes through as expected, but for some reason the username is being set at to a lowercase version of the given_name. The Extra data on the social users in the admin interface looks good, so I don’t think it’s a problem with the attributes coming from Okta.
We have tried a number of variations on the below setting, but that all of them other than the default of “username” end up with the username being empty. ACCOUNT_USER_MODEL_USERNAME_FIELD = “email”
Any direction would be welcome.
This is an issue for Django allauth <https://django-allauth.readthedocs.io/en/latest/index.html>. Mailman has no control over this. The username is part of Django's login and is not used by Mailman at all.
Does that mean, not having an user name would work for mailman? I always thought having an user name was required
Regards, Andi