Skip to content

Logging out does not log out other active tabs #6360

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

Open
4 tasks done
jaimalsumbria opened this issue Jul 31, 2023 · 2 comments
Open
4 tasks done

Logging out does not log out other active tabs #6360

jaimalsumbria opened this issue Jul 31, 2023 · 2 comments
Labels
bug Something isn't working

Comments

@jaimalsumbria
Copy link

Is there an existing issue for this?

  • I have searched the existing issues

OS/Web Information

  • Web Browser:
  • Local OS:
  • Remote OS:
  • Remote Architecture:
  • code-server --version:

Steps to Reproduce

Code-server version 4.13.0.

  1. open code-server in 2 tabs.
  2. logout from one.
  3. Open a file in second tab.
  4. make changes to the file.
  5. changes will be saved.

Expected

It shouldn't allows changes to be made in files opened in different tab after logging out from any of the tabs.

Actual

Code-server version 4.13.0. It allows changes to be made in files opened in different tabs even after logging out from one tab. The logout action is effective only if we refresh the new tab; otherwise, code-server remains (semi-) logged in for that tab.

Logs

No response

Screenshot/Video

No response

Does this issue happen in VS Code or GitHub Codespaces?

  • I cannot reproduce this in VS Code.
  • I cannot reproduce this in GitHub Codespaces.

Are you accessing code-server over HTTPS?

  • I am using HTTPS.

Notes

I am using https but not built-in, I am proxying through NGINX.

@jaimalsumbria jaimalsumbria added bug Something isn't working triage This issue needs to be triaged by a maintainer labels Jul 31, 2023
@code-asher
Copy link
Member

code-asher commented Jul 31, 2023 via email

@code-asher code-asher changed the title [Bug]: Code-server version 4.13.0. It allows changes to be made in files opened in different tabs even after logging out from one tab. The logout action is effective only if we refresh the new tab; otherwise, code-server remains logged in for that tab. Logging out does not log out other active tabs Jul 12, 2024
@code-asher code-asher removed the triage This issue needs to be triaged by a maintainer label Jul 12, 2024
@code-asher
Copy link
Member

code-asher commented Jul 12, 2024

Doing this would also let us fix logging out with --proxy-domain set to a different domain than the main IDE: #6353 (comment)

Also a good opportunity to test all the cookie logic between tabs and proxy domains to make sure it works as expected. Possibly we should not try to share cookies across domains either.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants