mirror of
https://github.com/tiennm99/ccs.git
synced 2026-10-11 12:09:03 +00:00
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
This commit is contained in:
1 parent
409ad67afb
commit
8017ce8f86
1 file changed
+1
-1
@@ -127,7 +127,7 @@ export const OAUTH_CONFIGS: Record<CLIProxyProvider, ProviderOAuthConfig> = {
|
||||
displayName: 'Claude (Anthropic)',
|
||||
authUrl: 'https://console.anthropic.com/oauth/authorize',
|
||||
scopes: ['user:inference', 'user:profile'],
|
||||
authFlag: '--anthropic-login',
|
||||
authFlag: '--claude-login',
|
||||
},
|
||||
};
|
||||
|
||||
|
||||
Reference in new issue
Block a user