We take some actions with user_info["domain"] (mainly: lookup groups, strip_domain), which is derived from user@domain in the email field. The "domain" is also available via the hd "hosted domain" field. Should we be using the hd field for this? Under what circumstances can these two values differ, if any, given that we require verified emails?
We take some actions with
user_info["domain"](mainly: lookup groups, strip_domain), which is derived fromuser@domainin the email field. The "domain" is also available via thehd"hosted domain" field. Should we be using thehdfield for this? Under what circumstances can these two values differ, if any, given that we require verified emails?