Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow for scoped signout #97

Merged

Conversation

AndrewKahr
Copy link
Contributor

What kind of change does this PR introduce?

This PR adds the ability to change the sign-out scopes from the default global scope.

What is the current behavior?

Calling signout always signs out from the global scope. There is no way to change to a different scope.

What is the new behavior?

Calling signOut now has a parameter to allow signing out from a different scope. To preserve backward compatibility and ensure parity with the js version, the parameter defaults to the global scope so there is no difference functionally.

@acupofjose
Copy link
Collaborator

Looks great to me! Thanks @AndrewKahr

@acupofjose acupofjose merged commit bf72eae into supabase-community:master Jun 11, 2024
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants