Skip to content

Skip token if certificate is set #394

Closed
@code-asher

Description

@code-asher

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
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions