Skip to content

fix(auth): split MiniMax OAuth token storage by region #25701

Description

@discolotus

Context

PR #25581 adds MiniMax China OAuth support and notes that switching between global and China picker entries triggers a fresh login because OAuth tokens live in the same auth.json slot. Users who need both regions logged in concurrently need region-split storage.

Work

  • Split MiniMax OAuth token storage by region/provider entry.
  • Preserve backward compatibility for existing stored MiniMax credentials.
  • Add tests for logging into global and China regions concurrently without last-login-wins overwrites.

Source

Follow-up from #25581.

Referenced by #25581.

Metadata

Metadata

Assignees

No one assigned

    Labels

    P3Low — cosmetic, nice to havearea/authAuthentication, OAuth, credential poolsprovider/minimaxMiniMax (Anthropic transport)sweeper:cannot-reproduceSweeper: could not reproduce on current maintype/featureNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions