Dart Reference v2.0

Sign out a user

Signs out the current user, if there is a logged in user.

  • In order to use the signOut() method, the user needs to be signed in first.
Parameters
    scope
    Optional
    SignOutScope

    Whether to sign out from all devices or just the current device. Defaults to SignOutScope.local.


await supabase.auth.signOut();