34 lines
705 B
Markdown
34 lines
705 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 device-code login flow.
|
|
- Tokens auto-refresh; re-run login if refresh fails or access is revoked.
|