Skip to content

fix(auth): update terminology to 'sign in' and 'sign out'#20892

Merged
clocky merged 29 commits intomainfrom
fix/auth-strings
Mar 10, 2026
Merged

fix(auth): update terminology to 'sign in' and 'sign out'#20892
clocky merged 29 commits intomainfrom
fix/auth-strings

Conversation

@clocky
Copy link
Contributor

@clocky clocky commented Mar 2, 2026

Summary

This PR updates the terminology from "login" and "logout" to "sign in" and "sign out" across the Gemini CLI, its documentation, and its user interface. This change ensures consistency with modern Google authentication standards and improves clarity for users.

Details

  • Renamed slash commands: /login is now /signin and /logout is now /signout.
  • Backward Compatibility: Added altNames support so that /login and /logout continue to work while pointing to the new commands.
  • UI String Updates: Updated all UI labels from "Login with Google" to "Sign in with Google" and from "Logged in" to "Signed in".
  • Improved UI Messaging: Refined several UI messages for clarity (e.g., "Waiting for auth..." is now "Waiting for authentication...", and "CTRL+C" is now "Ctrl+C").
  • Documentation: Updated the README.md and extensive documentation in the docs/ directory to reflect the new terminology.
  • Testing: Updated unit and integration tests to align with the new command names and strings, including verification of altNames.

Related Issues

Fixes #20891

How to Validate

  1. Run the Gemini CLI and verify that the new /signin and /signout commands are available.
  2. Verify altNames: Confirm that /login and /logout still function as aliases for the new commands.
  3. Initiate the authentication flow to confirm the updated "Sign in with Google" label.
  4. Review the README.md and documentation for consistency.

Pre-Merge Checklist

  • Updated relevant documentation and README (if needed)
  • Added/updated tests (if needed)
  • Noted breaking changes (if any)
  • Validated on MacOS (npm run, npx)

clocky added 15 commits March 2, 2026 13:53
…for authentication...' in AuthInProgress component
@clocky clocky requested review from a team as code owners March 2, 2026 22:06
@clocky clocky added the 🔒 maintainer only ⛔ Do not contribute. Internal roadmap item. label Mar 2, 2026
@gemini-code-assist
Copy link
Contributor

Summary of Changes

Hello, I'm Gemini Code Assist1! I'm currently reviewing this pull request and will post my feedback shortly. In the meantime, here's a summary to help you and other reviewers quickly get up to speed!

This pull request refactors the authentication terminology within the Gemini CLI to align with modern Google authentication standards, enhancing clarity and consistency for users. The changes involve updating command names, user interface text, and all related documentation and tests to uniformly use 'sign in' and 'sign out' instead of 'login' and 'logout'.

Highlights

  • Terminology Update: Standardized authentication terms from 'login' and 'logout' to 'sign in' and 'sign out' across the CLI, UI, and documentation to align with modern Google authentication standards.
  • Command Renaming: The /login slash command was renamed to /signin, and /logout was renamed to /signout.
  • UI String Refinements: Updated various UI labels and messages, including changing 'Login with Google' to 'Sign in with Google', 'Logged in' to 'Signed in', 'Waiting for auth...' to 'Waiting for authentication...', and 'CTRL+C' to 'Ctrl+C'.
  • Documentation Alignment: Extensive updates were made to README.md and the docs/ directory to reflect the new terminology.
  • Test Suite Adjustment: Unit and integration tests were modified to align with the updated command names and UI strings.
Changelog
  • README.md
    • Updated authentication option heading from 'Login with Google' to 'Sign in with Google'
    • Changed prompt text from 'Login with Google' to 'Sign in with Google'
  • docs/cli/settings.md
    • Updated description for ui.showUserIdentity from 'logged-in' to 'signed-in'
  • docs/core/subagents.md
    • Updated note about visual agent authentication from 'Google Login' to 'Sign in with Google'
  • docs/get-started/authentication.md
    • Updated table entries for Google accounts from 'Login with Google' to 'Sign in with Google'
    • Changed section heading from 'Login with Google' to 'Sign in with Google'
    • Updated authentication step instruction from 'Login with Google' to 'Sign in with Google'
    • Changed headless mode authentication description from 'logged in' to 'signed in'
  • docs/get-started/index.md
    • Updated authentication step instruction from 'Login with Google' to 'Sign in with Google'
  • docs/reference/configuration.md
    • Updated description for ui.showUserIdentity from 'logged-in' to 'signed-in'
  • docs/release-confidence.md
    • Updated authentication checklist items from 'login flows' to 'sign in flows' and 'Login With Google' to 'Sign in with Google'
  • docs/resources/tos-privacy.md
    • Updated section headings from 'logged in' to 'signed in' for Google account and API key authentication
  • docs/resources/troubleshooting.md
    • Updated error messages from 'Failed to login' to 'Failed to sign in'
  • packages/cli/src/core/auth.test.ts
    • Updated expected authentication error message from 'Failed to login' to 'Failed to sign in'
  • packages/cli/src/core/auth.ts
    • Updated authentication error message from 'Failed to login' to 'Failed to sign in'
  • packages/cli/src/ui/auth/AuthDialog.test.tsx
    • Updated test description from 'defaults to Login with Google' to 'defaults to Sign in with Google'
    • Updated test description from 'exits process for Login with Google' to 'exits process for Sign in with Google'
  • packages/cli/src/ui/auth/AuthDialog.tsx
    • Updated UI label for Google authentication from 'Login with Google' to 'Sign in with Google'
  • packages/cli/src/ui/auth/AuthInProgress.test.tsx
    • Updated UI text from 'Waiting for auth...' to 'Waiting for authentication...' and 'CTRL+C' to 'Ctrl+C'
  • packages/cli/src/ui/auth/AuthInProgress.tsx
    • Updated UI text from 'Waiting for auth...' to 'Waiting for authentication...' and 'CTRL+C' to 'Ctrl+C'
  • packages/cli/src/ui/auth/LoginWithGoogleRestartDialog.tsx
    • Updated success message from 'logged in' to 'signed in'
    • Updated restart prompt from 'Press 'r' to restart, or 'escape' to choose a different auth method.' to 'Press R to restart, or Esc to choose a different authentication method.'
  • packages/cli/src/ui/auth/snapshots/AuthDialog.test.tsx.snap
    • Updated snapshot content to reflect 'Sign in with Google'
  • packages/cli/src/ui/auth/useAuth.test.tsx
    • Updated test assertion for authentication error message
  • packages/cli/src/ui/auth/useAuth.ts
    • Updated authentication error message from 'Failed to login' to 'Failed to sign in'
  • packages/cli/src/ui/commands/authCommand.ts
    • Renamed /login command to /signin and updated its description
    • Renamed /logout command to /signout and updated its description
  • packages/cli/src/ui/components/AboutBox.test.tsx
    • Updated test assertions for 'Logged in with Google' to 'Signed in with Google'
  • packages/cli/src/ui/components/AboutBox.tsx
    • Updated UI text for displaying user authentication status from 'Logged in with Google' to 'Signed in with Google'
  • packages/cli/src/ui/components/LogoutConfirmationDialog.test.tsx
    • Updated test assertions for logout message and re-authentication prompt
    • Updated radio button label from 'Login' to 'Sign in'
  • packages/cli/src/ui/components/LogoutConfirmationDialog.tsx
    • Updated radio button label from 'Login' to 'Sign in'
    • Updated logout confirmation message and re-authentication prompt
  • packages/cli/src/ui/components/ModelStatsDisplay.test.tsx
    • Updated test assertion for authentication method display
  • packages/cli/src/ui/components/ModelStatsDisplay.tsx
    • Updated UI text for displaying authentication method from 'Logged in with Google' to 'Signed in with Google'
  • packages/cli/src/ui/components/StatsDisplay.test.tsx
    • Updated test assertion for authentication method display
  • packages/cli/src/ui/components/StatsDisplay.tsx
    • Updated UI text for displaying authentication method from 'Logged in with Google' to 'Signed in with Google'
  • packages/cli/src/ui/components/UserIdentity.test.tsx
    • Updated test assertions for user identity display
  • packages/cli/src/ui/components/UserIdentity.tsx
    • Updated UI text for user identity display from 'Logged in with Google' to 'Signed in with Google'
  • packages/cli/src/ui/components/ValidationDialog.tsx
    • Updated cancellation instruction from 'CTRL+C' to 'Ctrl+C'
Activity
  • The author has updated relevant documentation and the README.md.
  • Tests have been added or updated as needed.
  • The changes have been validated on MacOS using npm run and npx.
Using Gemini Code Assist

The full guide for Gemini Code Assist can be found on our documentation page, here are some quick tips.

Invoking Gemini

You can request assistance from Gemini at any point by creating a comment using either /gemini <command> or @gemini-code-assist <command>. Below is a summary of the supported commands on the current page.

Feature Command Description
Code Review /gemini review Performs a code review for the current pull request in its current state.
Pull Request Summary /gemini summary Provides a summary of the current pull request in its current state.
Comment @gemini-code-assist Responds in comments when explicitly tagged, both in pull request comments and review comments.
Help /gemini help Displays a list of available commands.

Customization

To customize Gemini Code Assist for GitHub experience, repository maintainers can create a configuration file and/or provide a custom code review style guide (such as PEP-8 for Python) by creating and adding files to a .gemini/ folder in the base of the repository. Detailed instructions can be found here.

Limitations & Feedback

Gemini Code Assist may make mistakes. Please leave feedback on any instances where its feedback is incorrect or counter productive. You can react with 👍 and 👎 on @gemini-code-assist comments. If you're interested in giving your feedback about your experience with Gemini Code Assist for Github and other Google products, sign up here.

You can also get AI-powered code generation, chat, as well as code reviews directly in the IDE at no cost with the Gemini Code Assist IDE Extension.

Footnotes

  1. Review the Privacy Notices, Generative AI Prohibited Use Policy, Terms of Service, and learn how to configure Gemini Code Assist in GitHub here. Gemini can make mistakes, so double check it and use code with caution.

@gemini-cli gemini-cli bot added the area/core Issues related to User Interface, OS Support, Core Functionality label Mar 2, 2026
Copy link
Contributor

@gemini-code-assist gemini-code-assist bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code Review

This pull request consistently updates the terminology from 'login'/'logout' to 'sign in'/'sign out' across the codebase, including UI components, commands, tests, and documentation. The changes are thorough and align with the goal of standardizing authentication language. I've found one issue in a test file where a mocked error message was not updated to match the new test expectation, which will cause the test to fail.

@github-actions
Copy link

github-actions bot commented Mar 6, 2026

Size Change: +382 B (0%)

Total Size: 26.2 MB

ℹ️ View Unchanged
Filename Size Change
./bundle/gemini.js 25.7 MB +382 B (0%)
./bundle/node_modules/@google/gemini-cli-devtools/dist/client/main.js 221 kB 0 B
./bundle/node_modules/@google/gemini-cli-devtools/dist/src/_client-assets.js 227 kB 0 B
./bundle/node_modules/@google/gemini-cli-devtools/dist/src/index.js 11.5 kB 0 B
./bundle/node_modules/@google/gemini-cli-devtools/dist/src/types.js 132 B 0 B
./bundle/sandbox-macos-permissive-open.sb 890 B 0 B
./bundle/sandbox-macos-permissive-proxied.sb 1.31 kB 0 B
./bundle/sandbox-macos-restrictive-open.sb 3.36 kB 0 B
./bundle/sandbox-macos-restrictive-proxied.sb 3.56 kB 0 B
./bundle/sandbox-macos-strict-open.sb 4.82 kB 0 B
./bundle/sandbox-macos-strict-proxied.sb 5.02 kB 0 B

compressed-size-action

@clocky clocky enabled auto-merge March 6, 2026 18:14
@clocky clocky added this pull request to the merge queue Mar 10, 2026
Merged via the queue into main with commit b404fc0 Mar 10, 2026
26 of 27 checks passed
@clocky clocky deleted the fix/auth-strings branch March 10, 2026 19:28
JaisalJain pushed a commit to JaisalJain/gemini-cli that referenced this pull request Mar 11, 2026
kunal-10-cloud pushed a commit to kunal-10-cloud/gemini-cli that referenced this pull request Mar 12, 2026
liamhelmer pushed a commit to badal-io/gemini-cli that referenced this pull request Mar 12, 2026
yashodipmore pushed a commit to yashodipmore/geemi-cli that referenced this pull request Mar 21, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area/core Issues related to User Interface, OS Support, Core Functionality 🔒 maintainer only ⛔ Do not contribute. Internal roadmap item.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

feat: update customer-facing strings from 'login'/'logout' to 'sign in'/'sign out'

3 participants