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

Users are not getting logged out across tabs on web #979

Closed
Mr-Pepe opened this issue Jul 22, 2024 · 0 comments · Fixed by #1005
Closed

Users are not getting logged out across tabs on web #979

Mr-Pepe opened this issue Jul 22, 2024 · 0 comments · Fixed by #1005
Assignees
Labels
auth This issue or pull request is related to authentication bug Something isn't working

Comments

@Mr-Pepe
Copy link

Mr-Pepe commented Jul 22, 2024

Describe the bug
Currently, logging a user out in one tab of a web browser does not log the user out in other tabs.

To Reproduce

  1. Log in in one tab
  2. Open a second tab -> The user is logged in in the second tab
  3. Log out in the first tab -> An AuthChangeEvent.signedOut event is triggered in the first tab but not in the second tab

Actions that require a signed-in user are still possible in the second tab.

Expected behavior

The sign-out event should get triggered in all tabs.

Version (please complete the following information):
├── supabase_flutter 2.5.5
│ ├── supabase 2.2.1
│ │ ├── functions_client 2.2.0
│ │ ├── gotrue 2.8.0
│ │ ├── postgrest 2.1.2
│ │ ├── realtime_client 2.1.0
│ │ ├── storage_client 2.0.2

@Mr-Pepe Mr-Pepe added the bug Something isn't working label Jul 22, 2024
@bdlukaa bdlukaa added the auth This issue or pull request is related to authentication label Jul 22, 2024
@Vinzent03 Vinzent03 self-assigned this Aug 13, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
auth This issue or pull request is related to authentication bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants