From 8017ce8f8639ffc282203d6809091df83e0c8f18 Mon Sep 17 00:00:00 2001 From: kaitranntt Date: Tue, 27 Jan 2026 21:39:19 -0500 Subject: [PATCH] fix(cliproxy): use correct --claude-login flag for Claude OAuth - CLIProxyAPI expects --claude-login, not --anthropic-login - Fixes 'CLIProxy auth exited with code 2' error Closes #382 --- src/cliproxy/auth/auth-types.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/cliproxy/auth/auth-types.ts b/src/cliproxy/auth/auth-types.ts index d3af8c76..3ebdff0a 100644 --- a/src/cliproxy/auth/auth-types.ts +++ b/src/cliproxy/auth/auth-types.ts @@ -127,7 +127,7 @@ export const OAUTH_CONFIGS: Record = { displayName: 'Claude (Anthropic)', authUrl: 'https://console.anthropic.com/oauth/authorize', scopes: ['user:inference', 'user:profile'], - authFlag: '--anthropic-login', + authFlag: '--claude-login', }, };