Barba
12/15/2021, 7:18 PMawait supabase.auth.signIn({
provider: "github",
});
Probably you already know that by doing this.. in case a user doesnt exist in supabase, its created, so this signIn works like a singUp when the user doesnt exist, and thats totally fine, I would say I like the approach, but would be possible, to get a response info from auth.signIn
to know if the user has been created or just logged? would make sense?
I know I could check if the user exist before or something else, but I think is something very useful.
Maybe its already doing something similar and I was not able to figure out how to get that from the response.jonny
12/15/2021, 9:47 PMjonny
12/15/2021, 9:48 PMjonny
12/15/2021, 9:48 PMBarba
12/16/2021, 11:12 PMBarba
12/16/2021, 11:13 PMBarba
12/16/2021, 11:13 PMHarryET
12/16/2021, 11:14 PMBarba
12/16/2021, 11:15 PMHarryET
12/16/2021, 11:15 PMHarryET
12/16/2021, 11:16 PMHarryET
12/16/2021, 11:16 PMBarba
12/16/2021, 11:16 PM