mirror of
https://github.com/rudrankriyam/App-Store-Connect-CLI.git
synced 2026-04-25 23:55:51 +03:00
[GH-ISSUE #269] Auth: Add auth validate command to test stored credentials #83
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#83
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/269
Problem
Users currently have no way to verify that their stored credentials work without making an actual API call to a specific endpoint. If credentials become invalid (key revoked, issuer ID changed, key file moved), users only discover this when their intended operation fails. A dedicated validation command would help users troubleshoot authentication issues proactively.
Proposed Solution
Add a new
auth validatesubcommand that:Command signature:
Example output for successful validation:
Example output for failed validation:
Implementation Location
cmd/auth.go- Add the new validate subcommandinternal/auth/validate.go(new file) - Validation logic that can be reused byauth loginAcceptance Criteria
auth validatecommand validates the current profile or specified profile--profileflag to validate specific profiles@rudrankriyam commented on GitHub (Jan 28, 2026):
Closing per request. Reopen if any auth issues remain.