thien
01/06/2022, 8:20 PMjonny
01/06/2022, 9:24 PMjonny
01/06/2022, 9:28 PMon_auth_user_created
that runs a function called public.handle_new_user()
the trigger in the example is would pretty much be the same, as you need to just run a function whenever a new user is added to auth.users
But you should be able to change the handle_new_user function to do whatever you like, make it check that it is a github signup, and if so, add the relevant username and avatar_url to a public table for you.jonny
01/06/2022, 9:30 PMjonny
01/06/2022, 9:30 PMjonny
01/06/2022, 9:30 PMjonny
01/06/2022, 9:33 PM