Files
openclaw/extensions/minimax
Matthew Schleder 6a96058f50 fix(minimax): use account oauth endpoints
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>
2026-05-31 20:44:41 -04:00
..

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.