oxidecomputer / oxidecomputer/oxide.rs

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

Open
#400 1 comment 0 reactions 0 assignees View on GitHub

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

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.