diff options
Diffstat (limited to 'packages/cli/src')
| -rw-r--r-- | packages/cli/src/ui/components/AuthDialog.tsx | 2 | ||||
| -rw-r--r-- | packages/cli/src/ui/hooks/useAuthCommand.ts | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/packages/cli/src/ui/components/AuthDialog.tsx b/packages/cli/src/ui/components/AuthDialog.tsx index 2db9c080..6ff9268e 100644 --- a/packages/cli/src/ui/components/AuthDialog.tsx +++ b/packages/cli/src/ui/components/AuthDialog.tsx @@ -35,7 +35,7 @@ export function AuthDialog({ }, { label: 'Gemini API Key', value: AuthType.USE_GEMINI }, { - label: 'Login with Google Workspace', + label: 'Login with Google (for Workspace or licensed Code Assist users)', value: AuthType.LOGIN_WITH_GOOGLE_ENTERPRISE, }, { label: 'Vertex AI', value: AuthType.USE_VERTEX_AI }, diff --git a/packages/cli/src/ui/hooks/useAuthCommand.ts b/packages/cli/src/ui/hooks/useAuthCommand.ts index bccb285e..445b184b 100644 --- a/packages/cli/src/ui/hooks/useAuthCommand.ts +++ b/packages/cli/src/ui/hooks/useAuthCommand.ts @@ -49,7 +49,7 @@ export const useAuthCommand = ( const errorMessage = settings.merged.selectedAuthType === AuthType.LOGIN_WITH_GOOGLE_PERSONAL - ? `Failed to login. Ensure your Google account is not a Workspace account. + ? `Failed to login. Ensure the Google account you are using is not a Workspace account and that you are not a licensed Code Assist user (see https://goo.gle/gemini-cli-auth-docs#workspace-gca). Message: ${getErrorMessage(e)}` : `Failed to login. Message: ${getErrorMessage(e)}`; setAuthError(errorMessage); |
