rbkayz
07/13/2022, 5:42 PMconst {data, error} = await supabase.functions.invoke('get-message', {
responseType: 'multipart/form-data',
body: JSON.stringify({
params
})
});
joshcowan25
07/13/2022, 7:10 PMmansueli
07/13/2022, 7:38 PMHelge
07/13/2022, 11:41 PMsupabase.auth.api.signOut(token)
should invalidate the jwt, right? I can still query though with the token after the signOut-call. Response from .signOut() is {error: null}
which I assume is correctgaryaustin
07/13/2022, 11:48 PMHelge
07/13/2022, 11:49 PMsilentworks
07/14/2022, 12:12 AMsilentworks
07/14/2022, 12:13 AMHelge
07/14/2022, 12:14 AMsilentworks
07/14/2022, 12:14 AMHelge
07/14/2022, 12:15 AMHelge
07/14/2022, 12:15 AMHelge
07/14/2022, 12:15 AMgaryaustin
07/14/2022, 12:16 AMKamael愛
07/14/2022, 4:23 AMXGeohound
07/14/2022, 1:20 PMerror=server_error&error_description=Unable+to+exchange+external+code%3A+AQSHg_omRSOVd33nWtE8o38xuU...
LogIn via magic link does work however...
Google search did not really reveal anything about that error... I used for my Svelte project the Supabase documentation skeleton
(https://supabase.com/docs/guides/with-sveltekit)
Many thanks in advance for help! Right now, I do not even know, where exactly I have to check the root cause of the error...Joshios
07/14/2022, 6:18 PMJoshios
07/14/2022, 6:18 PMValentine
07/14/2022, 6:29 PMlaznic
07/14/2022, 8:49 PMgaryaustin
07/15/2022, 1:16 AMdr44
07/15/2022, 4:05 PMdr44
07/15/2022, 4:22 PMXGeohound
07/15/2022, 4:47 PMbhaskar
07/15/2022, 6:10 PMbhaskar
07/15/2022, 6:15 PMgaryaustin
07/15/2022, 9:36 PMLukas
07/16/2022, 8:42 AMgaryaustin
07/16/2022, 12:20 PMThePhilip
07/16/2022, 2:50 PMhttps://github.com/supabase-community/auth-helpers/blob/main/packages/nextjs/README.md#protecting-api-routes
but not exactly the same