oxidecomputer / oxidecomputer/oxide.rs
`oxide auth login` could use a `--force` option
Nobody has claimed this yet.
- Dominant language
- Rust
- Stars
- 75
- Forks
- 21
- Avg merge
- 2d 2h
- Merged PRs (30d)
- 19
Description
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.
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reproducing the behavior with oxide auth login, oxide auth logout, and the credentials in ~/.config/oxide/hosts.toml; then trace the CLI implementation of the login command. Done means oxide auth login --force provides a way to re-authenticate without the existing-credentials prompt.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- rust
- Domain
- authentication, cli
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 38/100