Replies: 2 comments
-
Hi, sorry for the late response. As of right now, we are not planning to add custom key attributes. It looks like a database transaction is needed anyway so I'd recommend using database queries directly. One advice for the data structure is to store the emails in a separated table connected to the user table. |
Beta Was this translation helpful? Give feedback.
0 replies
-
Hi, no problem. Thanks for the advice: a separate table for emails sounds reasonable. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello,
I'm reaching out to discuss a feature that our team is keen to explore: the ability to handle multiple accounts and manage multiple verified emails for a single user.
Below, you'll find a small example that illustrates the structure we're considering for the
user_key
.auth_user
tableuser_key
table (something like this)github:7777:[email protected]
[email protected]
github:7777:[email protected]
[email protected]
github:8888:[email protected]
[email protected]
gitlab:aaaa:[email protected]
[email protected]
gitlab:aaaa:[email protected]
[email protected]
google:1212:[email protected]
[email protected]
github:9999:[email protected]
[email protected]
If either the
provider_id + provider_user_id
OR theverified_email
exists in theuser_key
table, then it is not a new user.I'd like to understand if this feature aligns with the current roadmap. Is there any plan or intention to support such a structure in the near future?
EDIT: Fixed the column names.
Beta Was this translation helpful? Give feedback.
All reactions