© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
SupabaseS
Supabase•3y ago
jalapeño8

how to sign out user (Expo Apple auth with Supabase)

Expo Apple Auth docs say not to use the sign out method, so I’m a little confused here. I’m developing on react native with expo - iOS platform.

The user is signed in with -

Supabase.auth.signInWithIdToken which accepts an identity token

….
Expo Apple Authentication Library

AppleAuthentication.signOutAsync(options)

An operation that ends the authenticated session. Calling this method will show the sign in modal before actually signing the user out.

It is not recommended to use this method to sign out the user as it works counterintuitively. Instead of using this method it is recommended to simply clear all the user's data collected from using signInAsync or refreshAsync methods.
…

The Supabase docs mention how sign out works for browser context but not for native. Does supabase sign out handle signing out for me completely and I won’t have to worry about signing out from Apple auth?

…
Supabase

Sign out a user

Inside a browser context, signOut() will remove the logged in user from the browser session and log them out - removing all items from localstorage and then trigger a "SIGNED_OUT" event.

In order to use the signOut() method, the user needs to be signed in first.
…
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

Supabase Auth with Apple Oauth and Expo -> React Native
SupabaseSSupabase / help-and-questions
9mo ago
supabase auth signin with Apple incomplete
SupabaseSSupabase / help-and-questions
4mo ago
Apple Native Sign-In with Self-Hosted Supabase
SupabaseSSupabase / help-and-questions
3y ago
Create Account for null: Apple Sign-in with Expo
SupabaseSSupabase / help-and-questions
3y ago