Merge "Login with Google Workspace" auth option into "Login with Google" (#1574)

Co-authored-by: Scott Densmore <scottdensmore@mac.com>
This commit is contained in:
Tommaso Sciortino
2025-06-25 15:38:18 -07:00
committed by GitHub
parent 00b24c917e
commit 79c647d486
13 changed files with 31 additions and 95 deletions

View File

@@ -505,10 +505,7 @@ export class GeminiClient {
*/
private async handleFlashFallback(authType?: string): Promise<string | null> {
// Only handle fallback for OAuth users
if (
authType !== AuthType.LOGIN_WITH_GOOGLE_PERSONAL &&
authType !== AuthType.LOGIN_WITH_GOOGLE_ENTERPRISE
) {
if (authType !== AuthType.LOGIN_WITH_GOOGLE_PERSONAL) {
return null;
}