mirror of
https://github.com/QwenLM/qwen-code.git
synced 2026-04-30 04:30:48 +00:00
feat(oauth): add Qwen OAuth integration
This commit is contained in:
parent
ffc2d27ca3
commit
ea7dcf8347
37 changed files with 7795 additions and 169 deletions
|
|
@ -45,6 +45,12 @@ export const validateAuthMethod = (authMethod: string): string | null => {
|
|||
return null;
|
||||
}
|
||||
|
||||
if (authMethod === AuthType.QWEN_OAUTH) {
|
||||
// Qwen OAuth doesn't require any environment variables for basic setup
|
||||
// The OAuth flow will handle authentication
|
||||
return null;
|
||||
}
|
||||
|
||||
return 'Invalid auth method selected.';
|
||||
};
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue