Deleted User
10/12/2021, 11:33 PM.or()
?Steve
10/13/2021, 12:15 AMsilentworks
10/13/2021, 12:34 AMAndy | Spillhosting.no
10/13/2021, 6:38 PMlarryM
10/13/2021, 8:06 PMVictor Peralta
10/13/2021, 9:19 PMalexandergaal
10/13/2021, 11:05 PMuser
, session
or error
after this statement:
const { user, session, error } = await supabase.auth.signIn({
provider,
});
user
, session
and error
are null
.
Any ideas?alexandergaal
10/13/2021, 11:05 PMJohann
10/14/2021, 7:00 AMalexandergaal
10/14/2021, 7:14 AMauth.onAuthStateChange()
?alexandergaal
10/14/2021, 9:13 AMSign In with Facebook
it redirects me to Facebook, which is perfectly fine. Back in my app it redirects me to a specific page I configured and after that it refreshes the whole app resulting to land at the onboarding again.alexandergaal
10/14/2021, 9:14 AMalexandergaal
10/14/2021, 9:55 AMalexandergaal
10/14/2021, 9:55 AMstore/auth.js
actions: {
async signInWithSocialProvider({ commit }, provider) {
const { error } = await supabase.auth.signIn({
provider,
}, {
redirectTo: '/platforms',
});
if (error) {
console.error(error);
}
supabase.auth.onAuthStateChange((event, session) => {
console.log(event);
console.log(session);
commit('setUser', event);
});
},
},
Jacob Miles
10/14/2021, 11:16 PMJacob Miles
10/14/2021, 11:16 PMsilentworks
10/15/2021, 12:18 AMPierre Debruyne
10/15/2021, 3:09 PMmikebarkmin
10/15/2021, 3:20 PMPierre Debruyne
10/15/2021, 3:27 PMgaryaustin
10/15/2021, 4:09 PMXzeta
10/15/2021, 8:35 PMCan't perform a React state update on an unmounted component. This is a no-op, but it indicates a memory leak in your application. To fix, cancel all subscriptions and asynchronous tasks in a useEffect cleanup function.
mikebarkmin
10/15/2021, 8:53 PMKevin Tale
10/17/2021, 6:51 PMselect
and filter
for multiple things in one request?
Something like this in the idea
const { data } = await supabase.from('profiles').select('username, email').filter('username', 'eq', username, 'email', 'eq', email);
In this example, I want to returns all rows that matches username equals username
OR email equals emails
. Not necessarly rows that match both condition at the same time (but they could)Kevin Tale
10/17/2021, 6:53 PMkhacvy
10/18/2021, 2:47 AMPuru
10/18/2021, 4:14 PMjs
{
error: {
message: 'FetchError: Request with GET/HEAD method cannot have body',
details: '',
hint: '',
code: ''
},
data: null,
body: null,
count: null,
status: 400,
statusText: 'Bad Request'
}
Puru
10/18/2021, 4:14 PMconst results = await likesTable.select('*').eq('id', blogID);
Puru
10/18/2021, 4:21 PM