oxidecomputer / oxide.rs

The Oxide Rust SDK and CLI
Mozilla Public License 2.0
37 stars 13 forks source link

`oxide auth login` could use a `--force` option #400

Open iliana opened 11 months ago

iliana commented 11 months ago

It appears if the CLI thinks it has valid credentials, it will always ask whether I want to re-authenticate. Strangely this occurs even after I run oxide auth logout and the credentials in ~/.config/oxide/hosts.toml have been replaced with empty strings.

ahl commented 2 months ago

The issue at least of logout and then login should be addressed by #727. I'd suggest we add a test for that and then close this issue; does that work for you @iliana?