Repository navigation
fix: update Qwen OAuth URLs from chat.qwen.ai to qwen.ai (closes #572) - #683
Merged
decolua merged 4 commits intoApr 22, 2026
Merged
Conversation
…or remote Ollama hosts (closes decolua#578)
zerray
pushed a commit
to zerray/9router
that referenced
this pull request
Apr 23, 2026
…lua#572) (decolua#683) * fix: make version update banner clickable to copy install command (closes decolua#598) * fix: resolve ollama-local baseUrl from providerSpecificData.baseUrl for remote Ollama hosts (closes decolua#578) * fix: add Ollama Cloud to usage/quota tracking (closes decolua#681) * fix: update Qwen OAuth URLs from chat.qwen.ai to qwen.ai per issue decolua#572
idbara
pushed a commit
to idbara/9router
that referenced
this pull request
Apr 23, 2026
…lua#572) (decolua#683) * fix: make version update banner clickable to copy install command (closes decolua#598) * fix: resolve ollama-local baseUrl from providerSpecificData.baseUrl for remote Ollama hosts (closes decolua#578) * fix: add Ollama Cloud to usage/quota tracking (closes decolua#681) * fix: update Qwen OAuth URLs from chat.qwen.ai to qwen.ai per issue decolua#572
luckystart79-lang
pushed a commit
to luckystart79-lang/minirouter
that referenced
this pull request
May 2, 2026
…lua#572) (decolua#683) * fix: make version update banner clickable to copy install command (closes decolua#598) * fix: resolve ollama-local baseUrl from providerSpecificData.baseUrl for remote Ollama hosts (closes decolua#578) * fix: add Ollama Cloud to usage/quota tracking (closes decolua#681) * fix: update Qwen OAuth URLs from chat.qwen.ai to qwen.ai per issue decolua#572
caothu159
pushed a commit
to diepxuan/9router
that referenced
this pull request
May 14, 2026
…lua#572) (decolua#683) * fix: make version update banner clickable to copy install command (closes decolua#598) * fix: resolve ollama-local baseUrl from providerSpecificData.baseUrl for remote Ollama hosts (closes decolua#578) * fix: add Ollama Cloud to usage/quota tracking (closes decolua#681) * fix: update Qwen OAuth URLs from chat.qwen.ai to qwen.ai per issue decolua#572
1 of 2 tasks
diegosouzapw
pushed a commit
to diegosouzapw/OmniRoute
that referenced
this pull request
Jun 22, 2026
The Qwen device-code OAuth flow was hitting `https://chat.qwen.ai/api/v1/oauth2/{device/code,token}`, but the authoritative host is `qwen.ai`. Updates QWEN_CONFIG in `src/lib/oauth/constants/oauth.ts` to the canonical host and adds a regression test that pins both hostnames so this cannot drift again. Ported from upstream decolua/9router#683 (closes decolua/9router#572). Inspired-by: decolua/9router#683 Co-authored-by: Anurag Saxena <anuragg.saxenaa@gmail.com>
4 tasks
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Issue #572 pointed out that Qwen OAuth was using
https://chat.qwen.ai/api/v1/oauth2/device/codeandhttps://chat.qwen.ai/api/v1/oauth2/token, but the correct URL ishttps://qwen.ai/api/v1/oauth2/device/codeandhttps://qwen.ai/api/v1/oauth2/token.This is a minimal 2-line fix that updates the QWEN_CONFIG in
src/lib/oauth/constants/oauth.js.Fix
deviceCodeUrl:https://chat.qwen.ai/api/v1/oauth2/device/code→https://qwen.ai/api/v1/oauth2/device/codetokenUrl:https://chat.qwen.ai/api/v1/oauth2/token→https://qwen.ai/api/v1/oauth2/tokenCloses #572