-
Notifications
You must be signed in to change notification settings - Fork 5.9k
Log out button #778
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
Comments
We currently don't have a logout mechanism that I know of. In the meantime, you can logout of code-server by deleting the |
Closing the browser indeed log me out of the code-server. Thanks! |
For me, closing Chrome does not logout so instead I'm using an Incognito browser. |
deleting the cookie helps ... but why not implementing a logout feature? |
Why do you need to log out? |
Sorry I guess that's a dumb question. I can see the security advantages for sure and it really doesn't make sense we don't have this so I'm reopening. |
Perhaps |
@nhooyr Thats how I imagined it originally 😆. I guess I do have a use case. As a Teaching Assitant, sometimes I get annoyed with students’ editor and wanted to do some formatting using vscode server but then want to log out. |
@nhooyr A possible use case would be that the code server is behind a oauth2 proxy server. To access the code server public url, one would need to login with an oauth2/oidc identity provider and a customizable logout button could be configured to remove the code-server-session/idp-session so that a user should login again with the idp before they can access the code-server again. This is something I did before with https://github.com/oauth2-proxy/oauth2-proxy |
Same to me. I use code-server as a portable dev env while teaching in public classrooms . It's necessary to logout manually, closing browser does not work. |
+1 for this. Would be great to have as an option |
Description
I couldn’t find a way to logout of the code server once logged in to the code-server
The following docker command was used to host the code-server
docker run -it -p 127.0.0.1:8443:8443 -v "${PWD}:/home/coder/project" codercom/code-server --allow-http --no-auth
This functionality is kind of important to me as sometimes I have to use different machines temporarily. Is there by chance a way for me to logout? Thanks a lot.
Related Issues
The text was updated successfully, but these errors were encountered: