@paflopes/opencode-qwen-auth
v0.0.7
Published
OpenCode plugin for Qwen OAuth authentication
Maintainers
Readme
@paflopes/opencode-qwen-auth
OpenCode plugin for Qwen OAuth authentication using device authorization flow.
Installation
npm install @paflopes/opencode-qwen-authConfiguration
Add the plugin to your opencode.json:
{
"$schema": "https://opencode.ai/config.json",
"plugin": [
"@paflopes/opencode-qwen-auth"
]
}Usage
Run the authentication command:
opencode auth loginChoose "Alibaba" from the provider list
Select "Qwen (Device Authorization)" as the authentication method
Follow the browser instructions to complete the OAuth flow
Features
- Device authorization flow for secure authentication
- Automatic token refresh
- Support for manual API key entry as fallback
- Seamless integration with OpenCode
Dependencies
@openauthjs/openauth- OAuth utilities@opencode-ai/plugin- OpenCode plugin framework
License
MIT
