Skip to content

fix(auth): exempt auth status/refresh from ensureApiKey#40

Closed
EElaineYIN wants to merge 1 commit intomainfrom
fix/auth-status-no-auth-setup
Closed

fix(auth): exempt auth status/refresh from ensureApiKey#40
EElaineYIN wants to merge 1 commit intomainfrom
fix/auth-status-no-auth-setup

Conversation

@EElaineYIN
Copy link
Copy Markdown

Summary

  • Add ['auth', 'status'] and ['auth', 'refresh'] to NO_AUTH_SETUP
  • Previously, unauthenticated users running minimax auth status got "No API key found" instead of "Not authenticated"

Test plan

  • minimax auth status --non-interactive (no credentials) → shows "Not authenticated"
  • minimax auth status --api-key <key> → works normally

🤖 Generated with Claude Code

Users running `minimax auth status` without credentials now correctly
see "Not authenticated" instead of being blocked by ensureApiKey.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@RyanLee-Dev RyanLee-Dev closed this Apr 6, 2026
@RyanLee-Dev RyanLee-Dev deleted the fix/auth-status-no-auth-setup branch April 8, 2026 21:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants