Replies: 5 comments 6 replies
-
Isn't new.id the user's uid from the auth user table? |
Beta Was this translation helpful? Give feedback.
-
How are you calling the |
Beta Was this translation helpful? Give feedback.
-
Not sure then what you are looking for. The row is inserted by the "auth" process, not a specific user. The user that signed up in JS client has no uid until processed by "auth" (gotrue) and inserted in the auth table. There is no creating uid. |
Beta Was this translation helpful? Give feedback.
-
Perhaps when |
Beta Was this translation helpful? Give feedback.
-
I have the following function and trigger to add a user the
public.users
after insert intoauth.users
:auth.uid() is always null in this function. How an I access auth.uid() in this context?
Beta Was this translation helpful? Give feedback.
All reactions