docs: add Qwen OAuth auth URL (portal.qwen.ai)

- Add browser auth URL for re-authentication
- Clarify auth vs refresh vs API endpoints

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
Claude Code
2026-02-22 05:13:04 -05:00
Unverified
parent a3f958422f
commit e21168c6ec
2 changed files with 5 additions and 3 deletions

View File

@@ -272,9 +272,10 @@ Qwen Code stores OAuth credentials in `~/.qwen/oauth_creds.json`:
| Endpoint | URL | | Endpoint | URL |
|----------|-----| |----------|-----|
| **API Base** | `https://dashscope.aliyuncs.com/compatible-mode/v1` | | **Auth (Browser)** | `https://portal.qwen.ai` |
| **Chat Completions** | `https://dashscope.aliyuncs.com/compatible-mode/v1/chat/completions` |
| **Token Refresh** | `https://chat.qwen.ai/api/v1/oauth2/token` | | **Token Refresh** | `https://chat.qwen.ai/api/v1/oauth2/token` |
| **API Base** | `https://dashscope.aliyuncs.com/compatible-mode/v1` |
| **Chat Completions** | `/chat/completions` |
### Available Models (FREE Tier) ### Available Models (FREE Tier)

View File

@@ -79,9 +79,10 @@ qwen --auth-type qwen-oauth -p "test"
| Endpoint | URL | | Endpoint | URL |
|----------|-----| |----------|-----|
| **Auth (Browser)** | `https://portal.qwen.ai` |
| **Token Refresh** | `https://chat.qwen.ai/api/v1/oauth2/token` |
| **API Base** | `https://dashscope.aliyuncs.com/compatible-mode/v1` | | **API Base** | `https://dashscope.aliyuncs.com/compatible-mode/v1` |
| **Chat Completions** | `/chat/completions` | | **Chat Completions** | `/chat/completions` |
| **Token Refresh** | `https://chat.qwen.ai/api/v1/oauth2/token` |
## Available Models (FREE Tier) ## Available Models (FREE Tier)