jJ
07/16/2022, 4:47 PMjavascript
const { user, session, error } = await supabase.auth.signIn({provider: 'google'});
Kind regards,
Joegaryaustin
07/16/2022, 7:17 PMjJ
07/16/2022, 7:18 PMLukas
07/16/2022, 9:05 PMgaryaustin
07/16/2022, 9:33 PMcastor
07/16/2022, 11:24 PMgaryaustin
07/16/2022, 11:47 PMjJ
07/17/2022, 12:03 PMjson
{
"email": "my@email.com",
"familyName": "Surname",
"givenName": "Firstname",
"id": "xxxx",
"imageUrl": "https://lh3.googleusercontent.com/a-/blahblah=s96-c",
"name": "Full Name",
"authentication": {
"accessToken": "xxxx",
"idToken": "xxxx",
"refreshToken": ""
},
"serverAuthCode": "xxxx"
}
Many thanks in advance!Taofiq
07/18/2022, 7:50 AMgaryaustin
07/18/2022, 12:59 PMTaofiq
07/18/2022, 2:50 PMJoshios
07/18/2022, 5:35 PMferpintado
07/18/2022, 11:42 PMAuthorization
headers. Is it possible to trigger a supabase function with out defining it ?garyaustin
07/19/2022, 12:10 AMlucasb
07/19/2022, 3:45 AMjs
const { data, error } = await supabase
.from('Comments')
.select(`id, owner:users(id,email)`)
.eq('post_id', params.id);
I keep receiving an error Could not find a relationship between 'Comments' and 'users' in the schema cache
I'm not really sure why as it appears I've setup the foreign key correctly. Any suggestions are appreciatedRecognized
07/19/2022, 7:20 AMjavascript
useEffect(() => {
let gameListener = supabase
.from("games")
.on("*", (payload) => {
console.log("PAYLOAD", payload.new);
})
.subscribe();
const subscriptions = supabase.getSubscriptions();
console.log("SUBS", subscriptions);
return () => {
supabase.removeSubscription(gameListener);
};
}, []);
here are some potentially useful screenshots to helpdanielcoglitore
07/19/2022, 9:32 AMjJ
07/19/2022, 9:59 AMgaryaustin
07/19/2022, 12:52 PMTekey
07/19/2022, 2:49 PMshack
07/19/2022, 6:41 PMgaryaustin
07/19/2022, 6:46 PMshack
07/19/2022, 6:47 PMgaryaustin
07/19/2022, 6:48 PMshack
07/19/2022, 6:48 PMshack
07/19/2022, 6:48 PMGlennS
07/19/2022, 7:37 PMsudoramen
07/19/2022, 8:51 PMgaryaustin
07/19/2022, 8:53 PMJoshios
07/19/2022, 10:13 PM