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

flutter_supabase auth.signOut() should trigger 'onUnauthenticated' #35

Closed
seenickcode opened this issue Oct 6, 2021 · 0 comments · Fixed by #42
Closed

flutter_supabase auth.signOut() should trigger 'onUnauthenticated' #35

seenickcode opened this issue Oct 6, 2021 · 0 comments · Fixed by #42
Labels
enhancement New feature or request

Comments

@seenickcode
Copy link
Contributor

Feature request

Is your feature request related to a problem? Please describe.

It would be ideal to keep all auth state logic in a single place, such as here, but unfortunately, when calling signOut, nothing in this AuthState implementation gets triggered, thus making the user's code brittle, because we have to code logic like this to update the route stack, vs having it all done in our AuthState implementation.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant