mirror of
https://github.com/tiennm99/ccs.git
synced 2026-09-05 12:16:46 +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)',
|
displayName: 'Claude (Anthropic)',
|
||||||
authUrl: 'https://console.anthropic.com/oauth/authorize',
|
authUrl: 'https://console.anthropic.com/oauth/authorize',
|
||||||
scopes: ['user:inference', 'user:profile'],
|
scopes: ['user:inference', 'user:profile'],
|
||||||
authFlag: '--anthropic-login',
|
authFlag: '--claude-login',
|
||||||
},
|
},
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user