Skip to content

Improve consistency in client-side logout experience #498

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
stirby opened this issue May 5, 2025 · 0 comments
Open

Improve consistency in client-side logout experience #498

stirby opened this issue May 5, 2025 · 0 comments

Comments

@stirby
Copy link
Contributor

stirby commented May 5, 2025

Problem Statement

As of today, it's confusing when a coder user is logged out of a connected VScode window. When a user is connected to multiple workspaces, each window may show different behavior after logout.

One VSCode window might let you know that you signed out and that you need to re-login. Another will become unusable and disconnected, even after re-auth'ing Coder. The user must then close and reopen it. Another account had the user try to update their workspace from Coder's 'update' button in VSCode, but Coder was already logged out, so they got a 401 error.

Proposal

To reduce confusion, we should provide a consistent experience across all windows when the user is signed out. Communicating early and clearly that the user is no longer authenticated. The user should be prompted to re-authenticate when this advisory is presented.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant