Clarify why authentication failures might be happening and direct users to documentation (#1478)

Co-authored-by: Scott Densmore <scottdensmore@mac.com>
Co-authored-by: matt korwel <matt.korwel@gmail.com>
This commit is contained in:
Marat Boshernitsan
2025-06-25 09:11:54 -07:00
committed by GitHub
parent 819507c5e8
commit 9897a2b80a
3 changed files with 11 additions and 5 deletions

View File

@@ -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);