mirror of
https://github.com/tiennm99/ccs.git
synced 2026-07-16 04:18:05 +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:
@@ -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