mirror of
https://github.com/openclaw/openclaw.git
synced 2026-06-06 15:32:54 +00:00
Routes MiniMax OAuth device-code and token polling directly to account-hosted OAuth2 endpoints for global and CN regions, avoiding guarded-fetch cross-origin redirect body stripping. Keeps provider API base URLs unchanged and adds regression coverage for both endpoint pairs.
Proof: local minimax OAuth tests, oxfmt check, lint, autoreview clean, official MiniMax CLI/source check, live MiniMax endpoint probes, and CI run 26729242892 on 6bfe20eb06.
Co-authored-by: Matt Schleder <schledermatthew@gmail.com>
MiniMax (OpenClaw plugin)
Bundled MiniMax plugin for both:
- API-key provider setup (
minimax) - Token Plan OAuth setup (
minimax-portal)
Enable
openclaw plugins enable minimax
Restart the Gateway after enabling.
openclaw gateway restart
Authenticate
OAuth:
openclaw models auth login --provider minimax-portal --set-default
API key:
openclaw setup --wizard --auth-choice minimax-global-api
Notes
- MiniMax OAuth uses a user-code login flow.
- OAuth currently targets the Token Plan path.