fix(oauth): remove iFlow provider from OAuth flow

This commit is contained in:
LTbinglingfeng
2026-01-02 00:58:24 +08:00
parent 079f37ec93
commit 7cab1e8782
4 changed files with 7 additions and 12 deletions

View File

@@ -9,8 +9,7 @@ export type OAuthProvider =
| 'anthropic'
| 'antigravity'
| 'gemini-cli'
| 'qwen'
| 'iflow';
| 'qwen';
export interface OAuthStartResponse {
url: string;
@@ -30,7 +29,7 @@ export interface IFlowCookieAuthResponse {
type?: string;
}
const WEBUI_SUPPORTED: OAuthProvider[] = ['codex', 'anthropic', 'antigravity', 'gemini-cli', 'iflow'];
const WEBUI_SUPPORTED: OAuthProvider[] = ['codex', 'anthropic', 'antigravity', 'gemini-cli'];
const CALLBACK_PROVIDER_MAP: Partial<Record<OAuthProvider, string>> = {
'gemini-cli': 'gemini'
};