- Support Global (api.minimax.io) and CN (api.minimaxi.com) endpoints - Add endpoint selection prompt in onboard flow - Add notification_message display after successful login - Update documentation with Coding Plan details - Fix API response field parsing (expired_in, base_resp.status_msg) - Add debug logging for OAuth response and poll results
33 lines
690 B
Markdown
33 lines
690 B
Markdown
# MiniMax OAuth (Moltbot plugin)
|
|
|
|
OAuth provider plugin for **MiniMax** (OAuth).
|
|
|
|
## Enable
|
|
|
|
Bundled plugins are disabled by default. Enable this one:
|
|
|
|
```bash
|
|
moltbot plugins enable minimax-portal-auth
|
|
```
|
|
|
|
Restart the Gateway after enabling.
|
|
|
|
```bash
|
|
moltbot gateway restart
|
|
```
|
|
|
|
## Authenticate
|
|
|
|
```bash
|
|
moltbot models auth login --provider minimax-portal --set-default
|
|
```
|
|
|
|
You will be prompted to select an endpoint:
|
|
|
|
- **Global** - International users, optimized for overseas access (`api.minimax.io`)
|
|
- **China** - Optimized for users in China (`api.minimaxi.com`)
|
|
|
|
## Notes
|
|
|
|
- MiniMax OAuth uses a user-code login flow.
|
|
- Currently, OAuth login is supported only for the Coding plan |