mirror of
https://github.com/Nezumi-2711/9router.git
synced 2026-09-22 20:00:47 +00:00
buildUrl: fold kimi-coding into the shared ?beta=true case. refreshCline/ refreshKimiCoding now read URL (and kimi-coding clientId) from PROVIDERS instead of hardcoded strings. Extend verify-oauth-urls with refresh/clientId snapshot; URLs byte-for-byte equal, golden + gate clean. Co-authored-by: Cursor <cursoragent@cursor.com>
56 lines
1.9 KiB
JSON
56 lines
1.9 KiB
JSON
{
|
|
"oauthEndpoints": {
|
|
"google": {
|
|
"token": "https://oauth2.googleapis.com/token",
|
|
"auth": "https://accounts.google.com/o/oauth2/auth"
|
|
},
|
|
"openai": {
|
|
"token": "https://auth.openai.com/oauth/token",
|
|
"auth": "https://auth.openai.com/oauth/authorize"
|
|
},
|
|
"anthropic": {
|
|
"token": "https://api.anthropic.com/v1/oauth/token",
|
|
"auth": "https://api.anthropic.com/v1/oauth/authorize"
|
|
},
|
|
"qwen": {
|
|
"token": "https://qwen.ai/api/v1/oauth2/token",
|
|
"auth": "https://qwen.ai/api/v1/oauth2/device/code"
|
|
},
|
|
"iflow": {
|
|
"token": "https://iflow.cn/oauth/token",
|
|
"auth": "https://iflow.cn/oauth"
|
|
},
|
|
"github": {
|
|
"token": "https://github.com/login/oauth/access_token",
|
|
"auth": "https://github.com/login/oauth/authorize",
|
|
"deviceCode": "https://github.com/login/device/code"
|
|
}
|
|
},
|
|
"tokenUrls": {
|
|
"claude": "https://api.anthropic.com/v1/oauth/token",
|
|
"codex": "https://auth.openai.com/oauth/token",
|
|
"qwen": "https://chat.qwen.ai/api/v1/oauth2/token",
|
|
"iflow": "https://iflow.cn/oauth/token",
|
|
"kiro": "https://prod.us-east-1.auth.desktop.kiro.dev/refreshToken",
|
|
"xai": "https://auth.x.ai/oauth2/token",
|
|
"cline": "https://api.cline.bot/api/v1/auth/token",
|
|
"kimi-coding": "https://auth.kimi.com/api/oauth/token"
|
|
},
|
|
"authUrls": {
|
|
"qwen": "https://chat.qwen.ai/api/v1/oauth2/device/code",
|
|
"iflow": "https://iflow.cn/oauth",
|
|
"kiro": "https://prod.us-east-1.auth.desktop.kiro.dev"
|
|
},
|
|
"refreshUrls": {
|
|
"cline": "https://api.cline.bot/api/v1/auth/refresh",
|
|
"kimi-coding": "https://auth.kimi.com/api/oauth/token",
|
|
"xai": "https://auth.x.ai/oauth2/token"
|
|
},
|
|
"clientIds": {
|
|
"claude": "9d1c250a-e61b-44d9-88ed-5944d1962f5e",
|
|
"codex": "app_EMoamEEZ73f0CkXaXp7hrann",
|
|
"qwen": "f0304373b74a44d2b584a3fb70ca9e56",
|
|
"iflow": "10009311001",
|
|
"kimi-coding": "17e5f671-d194-4dfb-9706-5516cb48c098"
|
|
}
|
|
} |