-
Notifications
You must be signed in to change notification settings - Fork 887
Improve coder cli re-login experience when api token is expired #10925
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
This has been previously requested in a discord discussion
@coder/pms I suggest we do this. |
For illustrative purposes, I'm adding a screenshot to show how jarring this issue really is: ![]() User won't know what hit them. I would like to see the following changes:
Right now, we seem to be lacking a lot in CLI validation. This kind of error should definitely not be shown when typing ![]() |
Allow `coder login` to log into existing deployment if available. Output to indicate saved URL was used. Update help and error messages to indicate that `coder login` is available as a command.
Allow `coder login` to log into existing deployment if available. Output to indicate saved URL was used. Update help and error messages to indicate that `coder login` is available as a command.
Allow `coder login` to log into existing deployment if available. Output to indicate saved URL was used. Update help and error messages to indicate that `coder login` is available as a command.
Allow `coder login` to log into existing deployment if available. Output to indicate saved URL was used. Update help and error messages to indicate that `coder login` is available as a command.
Allow `coder login` to log into existing deployment if available. Output to indicate saved URL was used. Update help and error messages to indicate that `coder login` is available as a command.
We have a user that received this when trying to ssh to their workspace:
Since they see a URL from the unsuccessful API call, it's tempting to click that but it won't solve their problem. For re-logging in, instead of
<url>
in the message, would it be possible to display the URL there so it's a simple copy and paste operation?Could the URL be optional so that
coder login
will just re-login to the same server?The text was updated successfully, but these errors were encountered: