I was trying to tweak my user to allow me and use either one of my 2 emails and I got this weird behaviour.
Under preferences if you set it up to something like
firstname.lastname@example.org;email@example.com it will work, and you’ll get the confirmation email on both.
But when trying to login, now you’d have to use
firstname.lastname@example.org;email@example.com while trying to login with oauth, you can only use the first one.
I’m not sure what to do with this info or if it has any use for the developers. But I did wish to know if there is some way to make the oauth work with more than 1 email for the same account. I’d enjoy it very much, probably for no good reason.
Multiple email addresses on one account
Discourse’s email integration provides users with the option to post and reply via email. Currently, Discourse only allows one email per user; however, most people these days live with more than one email address. Messages are rejected when users post or reply from an account different from their email on record with Discourse, which can be frustrating and confusing for users. We would like to allow users to optionally add one or more alternate email addresses to their profile. When any message is received from an alternate email address, it would be treated as if it came from the user’s primary email address.
- Add alternate email addresses to user’s account.
- Send email messages from alternate address, generating posts as if they had been received from their primary address.
- Do not accept an alternate email address if it is already in use as a primary or alternate email address for any user (each email address must be unique across all users).
Send a reply to an alternate address the first time it is used, informing the user their message will be treated as if it came from their primary email address and any notifications will be directed only to their primary email.