You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
The text was updated successfully, but these errors were encountered:
This is an interesting problem. I suppose the other tabs are not aware
that the cookie has been deleted and keep using it.
I think the proper way to solve this is to generate a random token
that we exchange for the password which lets us invalidate it.
Related: #3576
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
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.
Is there an existing issue for this?
OS/Web Information
code-server --version
:Steps to Reproduce
Code-server version 4.13.0.
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?
Are you accessing code-server over HTTPS?
Notes
I am using https but not built-in, I am proxying through NGINX.
The text was updated successfully, but these errors were encountered: