New Plugin: opencode-qwencode-auth - Qwen OAuth authentication #8193

Open
opened 2026-02-16 18:09:23 -05:00 by yindo · 4 comments
Owner

Originally created by @gustavodiasdev on GitHub (Jan 31, 2026).

Originally assigned to: @jayair on GitHub.

New Plugin Submission

Hi! I've created a new authentication plugin for OpenCode that enables OAuth authentication with Qwen.ai (Alibaba's Qwen3-Coder models).

Plugin Details

Features

  • 🔐 OAuth Device Flow - Secure browser-based authentication (RFC 8628)
  • Automatic Polling - No need to press Enter after authorizing
  • 🆓 2,000 req/day free - Generous free tier with no credit card required
  • 🧠 1M context window - Models with 1 million token context
  • 🔄 Auto-refresh - Tokens renewed automatically before expiration
  • 🔗 qwen-code compatible - Reuses credentials from ~/.qwen/oauth_creds.json

Available Models

Model Context Max Output
qwen3-coder-plus 1M tokens 64K tokens
qwen3-coder-flash 1M tokens 64K tokens

Installation

// ~/.opencode/package.json
{
  "dependencies": {
    "opencode-qwencode-auth": "^1.0.0"
  }
}

// ~/.opencode/opencode.jsonc
{
  "plugin": ["opencode-qwencode-auth"]
}

Request

Would it be possible to add this plugin to the OpenCode documentation alongside other community plugins like opencode-gemini-auth?

Thank you for creating OpenCode! 🙏

Originally created by @gustavodiasdev on GitHub (Jan 31, 2026). Originally assigned to: @jayair on GitHub. ## New Plugin Submission Hi! I've created a new authentication plugin for OpenCode that enables OAuth authentication with **Qwen.ai** (Alibaba's Qwen3-Coder models). ### Plugin Details - **Name**: `opencode-qwencode-auth` - **npm**: https://www.npmjs.com/package/opencode-qwencode-auth - **GitHub**: https://github.com/gustavodiasdev/opencode-qwencode-auth ### Features - 🔐 **OAuth Device Flow** - Secure browser-based authentication (RFC 8628) - ⚡ **Automatic Polling** - No need to press Enter after authorizing - 🆓 **2,000 req/day free** - Generous free tier with no credit card required - 🧠 **1M context window** - Models with 1 million token context - 🔄 **Auto-refresh** - Tokens renewed automatically before expiration - 🔗 **qwen-code compatible** - Reuses credentials from `~/.qwen/oauth_creds.json` ### Available Models | Model | Context | Max Output | |-------|---------|------------| | `qwen3-coder-plus` | 1M tokens | 64K tokens | | `qwen3-coder-flash` | 1M tokens | 64K tokens | ### Installation ```json // ~/.opencode/package.json { "dependencies": { "opencode-qwencode-auth": "^1.0.0" } } // ~/.opencode/opencode.jsonc { "plugin": ["opencode-qwencode-auth"] } ``` ### Request Would it be possible to add this plugin to the OpenCode documentation alongside other community plugins like `opencode-gemini-auth`? Thank you for creating OpenCode! 🙏
yindo added the docs label 2026-02-16 18:09:23 -05:00
Author
Owner

@rekram1-node commented on GitHub (Jan 31, 2026):

Pr welcome

@rekram1-node commented on GitHub (Jan 31, 2026): Pr welcome
Author
Owner

@rekram1-node commented on GitHub (Jan 31, 2026):

to add to docs i mean

@rekram1-node commented on GitHub (Jan 31, 2026): to add to docs i mean
Author
Owner

@gustavodiasdev commented on GitHub (Jan 31, 2026):

Hey @jayair @rekram1-node @thdxr 👋

I've opened a PR to add the plugin to the ecosystem docs:

PR: #11562

Thanks!

@gustavodiasdev commented on GitHub (Jan 31, 2026): Hey @jayair @rekram1-node @thdxr 👋 I've opened a PR to add the plugin to the ecosystem docs: **PR**: #11562 Thanks!
Author
Owner

@dickyermawan commented on GitHub (Feb 13, 2026):

initially it worked, but error occurred after some time

Image
@dickyermawan commented on GitHub (Feb 13, 2026): initially it worked, but error occurred after some time <img width="746" height="716" alt="Image" src="https://github.com/user-attachments/assets/8411d800-cc89-4c1d-b923-dcb099aadf04" />
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: anomalyco/opencode#8193