authorizer icon indicating copy to clipboard operation
authorizer copied to clipboard

Allow multiple emails per user

Open kurucu opened this issue 2 years ago • 4 comments

Users often have multiple email addresses, for example for work and home; as well as perhaps a private one for GitHub. I don't think identity should be coupled tightly to email address, the relationship should be 1:many, and it would be great if Authorizer supported this.

Allow users to sign up with a first e-mail, and then verify any number of unique email addresses after that. Emails being added would be unique amongst verified email addresses across the whole user set. Verified email addresses would be sent as an array with the user object when requested. A user-selectable "default" one might be sent in place of the current "email" property.

Alternatives are that each user needs separate accounts for work and home, and duplicates are accidentally created with signing in with GitHub etc if they use different (e.g. private or masked) email addresses.

kurucu avatar Sep 16 '23 05:09 kurucu

Thank you for the feature request, but it is a concious decision to keep emails unique. May be we can have merge script feature that can help!

lakhansamani avatar Sep 21 '23 15:09 lakhansamani

Hey @lakhansamani, I believe this feature request maintains unique emails. Where am I wrong?

kurucu avatar Sep 22 '23 00:09 kurucu

I see basically how github manages multiple user emails under one account. makes sense.

Thanks for sharing it, will add to road map

lakhansamani avatar Sep 22 '23 01:09 lakhansamani

I see basically how github manages multiple user emails under one account. makes sense.

Exactly 😀

Thanks for sharing it, will add to road map

Thanks! I really appreciate it.

kurucu avatar Sep 22 '23 01:09 kurucu