flutter_supabase auth.signOut() should trigger 'onUnauthenticated' #3430
Unanswered
seenickcode
asked this question in
Feature Requests
Replies: 1 comment 1 reply
-
Hi @seenickcode ! That sounds like an amazing idea. If you don't mind, could you open an issue in |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
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 thi to update the route stack, vs having it all done in ourAuthState
implementation.Beta Was this translation helpful? Give feedback.
All reactions