Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow multiple emails per user #395

Open
kurucu opened this issue Sep 16, 2023 · 4 comments
Open

Allow multiple emails per user #395

kurucu opened this issue Sep 16, 2023 · 4 comments
Labels
enhancement New feature or request

Comments

@kurucu
Copy link

kurucu commented Sep 16, 2023

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 kurucu added the enhancement New feature or request label Sep 16, 2023
@lakhansamani
Copy link
Contributor

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!

@kurucu
Copy link
Author

kurucu commented Sep 22, 2023

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

@lakhansamani
Copy link
Contributor

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

Thanks for sharing it, will add to road map

@kurucu
Copy link
Author

kurucu commented Sep 22, 2023

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants