-
Notifications
You must be signed in to change notification settings - Fork 881
Automatically authenticate user with Coder in a workspace #2840
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
Hmm... I just tried to replicate this on our internal instance and was unable to. Do you have these environment variables set?
|
Hi, it seems that I am impacted by similar issue, though maybe the observed behavior is slightly different. I have freshly installed coder (same version as in title) with docker on a Ubuntu 20.04 machine with nginx as reverse proxy. I cannot open terminal to the workspace via any means provided by coder known to me (web interface, code-server, When I open docker shell into the workspace and try to run any eg.
It might be that my proxy configuration is wrong, though I do not see any errors that would indicate that. I'm using the following nginx config:
I also tried the trick with setting Connection header depending on $http_upgrade value, but that did not help in any way, so I reverted to simpler option. Oh and the web interface says that the agent is connected. If what I'm experiencing is unrelated, but still qualifies as a proper ticket please let me know and I'll create a new one. |
coder
CLI in workspace requires login
login
login
coder login
@bpmct will you add your repro steps? |
?Is CODER_USER token set? |
Done in issue comment |
@enbyted Would you mind creating a separate issue for what you are seeing so we can take a look? We think yours is potentially an nginx error. |
coder login
This issue is becoming stale. In order to keep the tracker readable and actionable, I'm going close to this issue in 7 days if there isn't more activity. |
We now have this using the coder-login module. |
Problem
coder
CLI in workspace requireslogin
Definition of Done
Like v1, user should not have to authenticate to the CLI in the workspace
Steps to reproduce
docker
workspacecoder ls
The text was updated successfully, but these errors were encountered: