How can i get user info on relationship?
# help
m
How can i get user info on relationship?
n
Hello @meluiz! This thread has been automatically created from your message in #843999948717555735 a few seconds ago. We have already mentioned the @User so that they can see your message and help you as soon as possible! Want to unsubscribe from this thread? Right-click the thread in Discord (or use the ``...`` menu) and select "Leave Thread" to unsubscribe from future updates. Want to change the title? Use the ``/title`` command! We have solved your problem? Click the button below to archive it.
m
posted_by is relationed with user
g
You would need set a public table with copy of the user info you will be using. Then insert in that table with a trigger function. auth.users is not available on the API. https://supabase.com/docs/guides/auth/managing-user-data
m
Is it the same when i use github authentication login, for example?
g
Yes that will do an insert on the auth.users table you can trigger on.