Replies: 1 comment 1 reply
-
Hi @universse, I think the recommended way of doing this would be to create a |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi, I'm currently making sharing functionality for my site. Basically, a user can invite another user to edit/view his document via email. I'm modeling this using a many-to-many table.
If the email belongs to a signed up user, it's all good since I can look up the
uid
fromauth.users
using the email and add it to the junction table. However, for non-user, is there any way I can create an unauthenticated user in theauth.users
table so that I can get anuid
to insert into the junction table. Ideally, I would not have to create another table to track invites for non-user.I tried inserting into
auth.users
directly (just id and email) but when signing up with the same email, an error is thrown.How should I approach this?
Beta Was this translation helpful? Give feedback.
All reactions