mirror of
https://github.com/rudrankriyam/App-Store-Connect-CLI.git
synced 2026-04-25 15:45:48 +03:00
[GH-ISSUE #273] Auth: Add auth doctor command for diagnosing configuration issues #89
Labels
No labels
bug
bug
documentation
enhancement
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/App-Store-Connect-CLI#89
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @rudrankriyam on GitHub (Jan 28, 2026).
Original GitHub issue: https://github.com/rudrankriyam/App-Store-Connect-CLI/issues/273
Problem
When users encounter authentication issues, debugging requires understanding multiple interacting systems: keychain availability, config file state, environment variables, file permissions, and credential validity. Users often struggle to identify the root cause because there is no single command that provides a comprehensive diagnostic view of the authentication configuration.
Proposed Solution
Add a new
auth doctorsubcommand that performs a comprehensive health check of the authentication configuration, similar tobrew doctororflutter doctor.Command signature:
The command should check:
Storage backend status
Credential inventory
Private key health
Environment variable status
Potential issues
Example output:
With
--fixflag, automatically fix issues where possible:Implementation Location
cmd/auth.go- Add the new doctor subcommandinternal/auth/doctor.go(new file) - Diagnostic check logicAcceptance Criteria
auth doctorperforms all documented checks--fixflag auto-repairs fixable issues with user confirmation@rudrankriyam commented on GitHub (Jan 28, 2026):
Closing per request. Reopen if any auth issues remain.