Hello,
I'm already using version 2.0.0-rc.4. So in the code below, user is signed in (100% sure), and when I call signOut():
const { error } = await supabase.auth.signOut();
console.log(error.message);
... the following error is thrown in the chrome debug console:
helpers.ts:40 GET https://xxxxxxxxxxxxxx.supabase.co/auth/v1/user 401
common.ts:91 AuthApiError: This endpoint requires a Bearer token
at fetch.ts:36:16
Anyway, even after the error message, the session is successfully closed. This was working fine on the 1.x branch. What am I doing wrong?
Thanks