© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
SupabaseS
Supabase•4y ago•
28 replies
ven

auth.signOut does not nullify the user object

const { error } = await supabase.auth.signOut()
const { error } = await supabase.auth.signOut()
does not make the user object null. I can still see the user object. I am having to explicit set the user object to null. is this a feature?
Supabase banner
SupabaseJoin
Supabase gives you the tools, documentation, and community that makes managing databases, authentication, and backend infrastructure a lot less overwhelming.
45,816Members
Resources

Similar Threads

Was this page helpful?
Recent Announcements

Similar Threads

client.auth.signInWithPassword() and client.auth.signOut() ERRORS
SupabaseSSupabase / help-and-questions
4y ago
auth.signup() with metadata does not return a User
SupabaseSSupabase / help-and-questions
3y ago
Cookies not deleting after signout
SupabaseSSupabase / help-and-questions
4y ago
await client.auth.signOut() hangs and has no error
SupabaseSSupabase / help-and-questions
7mo ago