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
SignOutScopeWhether to sign out from all devices or just the current device. Defaults to SignOutScope.local
.
await supabase.auth.signOut();