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
Running a CLI command with an expired API key gives:
% coder ls
GET https://dev.coder.com/api/v2/workspaces?q=: unexpected status code 401: API key expired at "2022-07-08 23:29:45.030833 +0000 UTC".: Try logging in using 'coder login <url>'.
Run 'coder list --help' for usage.
It would be great if the CLI bounced me to log back in instead of just telling me to run a different command. It would also be really great if after successfully logging in, it re-runs the original command.
AC:
For all CLI commands that require authentication, try them with an expired API token, and verify that you are redirected to the browser login page.
After successfully logging in and pasting the token, verify that the original command is run.
The text was updated successfully, but these errors were encountered:
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.
Running a CLI command with an expired API key gives:
It would be great if the CLI bounced me to log back in instead of just telling me to run a different command. It would also be really great if after successfully logging in, it re-runs the original command.
AC:
For all CLI commands that require authentication, try them with an expired API token, and verify that you are redirected to the browser login page.
After successfully logging in and pasting the token, verify that the original command is run.
The text was updated successfully, but these errors were encountered: