Open JackCai1206 opened 6 years ago
Are we unable to use the Google Groups API? We might be able to obtain a list of the groups through this:
https://developers.google.com/admin-sdk/directory/v1/reference/groups/list
I'm pretty sure that requires admin access to the MICDS G Suite.
Something to consider: I'm fairly sure that switching our authentication process to Google OAuth would make this a non-issue.
After looking into this a bit more, I don't think it's possible to programmatically check if a given email address is a mailing list/group or not. Our best option here might just be to hardcode a list of disallowed possible usernames, and we could probably ask the help desk for the mailing lists they have active.