Closed
Description
If some API request gets a 401, instead of showing the token prompt again, show the error with a button to retry.
Also, there is no reason to run coder login
when there is no token. However, we rely on login
to store the url in the config directory (which we store on the recent connection) to use later in the recents window, so store the url somewhere else (on the recent connection itself seems like the best place, and it can probably replace the config directory entirely since we can reconstruct it from the url).
Did not link it, but this takes care of the recents window: 5433d0a
Metadata
Metadata
Assignees
Labels
No labels