supabase.auth.signOut({ scope: 'local' }) behaves as 'global' by default #31017
Unanswered
captainahren
asked this question in
Questions
Replies: 1 comment
-
Try options:{scope:’local’} |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I encountered an issue with the supabase.auth.signOut method in the latest version of @supabase/supabase-js.
When I call the method with { scope: 'local' }, it behaves as if the scope is set to 'global' by default. It seems to clear the server-side session instead of just the local session.
await supabase.auth.signOut({ scope: 'local' });
Beta Was this translation helpful? Give feedback.
All reactions