summaryrefslogtreecommitdiff
path: root/packages/cli/src/ui/hooks/useAuthCommand.ts
diff options
context:
space:
mode:
authorMarat Boshernitsan <[email protected]>2025-06-25 09:11:54 -0700
committerGitHub <[email protected]>2025-06-25 16:11:54 +0000
commit9897a2b80a6f371363faf1345f406ea581b841db (patch)
treeb209e9c6325748d5f91c1115cdfe7f92c369d5f2 /packages/cli/src/ui/hooks/useAuthCommand.ts
parent819507c5e8f9fe54b1ac15dfc953e252982cd1ae (diff)
Clarify why authentication failures might be happening and direct users to documentation (#1478)
Co-authored-by: Scott Densmore <[email protected]> Co-authored-by: matt korwel <[email protected]>
Diffstat (limited to 'packages/cli/src/ui/hooks/useAuthCommand.ts')
-rw-r--r--packages/cli/src/ui/hooks/useAuthCommand.ts2
1 files changed, 1 insertions, 1 deletions
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);