mirror of
https://github.com/openclaw/openclaw.git
synced 2026-06-02 19:35:16 +00:00
* fix(minimax): normalize OAuth token expiry to absolute millisecond timestamp MiniMax returns expired_in from the token endpoint as a relative duration in seconds (standard OAuth expires_in semantics), but the auth profile store's hasUsableOAuthCredential() expects an absolute millisecond timestamp. Without conversion the token appears perpetually expired, triggering a slow OAuth refresh network call to api.minimaxi.com on every request — the root cause of the 30-50s auth-stage delay. Fixes #83449. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com> * fix(minimax): cover oauth expiry normalization * fix: polish minimax oauth expiry normalization (#83480) (thanks @NianJiuZst) * fix: update minimax raw fetch allowlist (#83480) --------- Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com> Co-authored-by: Peter Steinberger <steipete@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.