Skip to content

fix: force Google account chooser on OAuth login - #7572

Draft
Rohit3523 wants to merge 1 commit into
developfrom
fix/google-oauth-account-selection
Draft

fix: force Google account chooser on OAuth login#7572
Rohit3523 wants to merge 1 commit into
developfrom
fix/google-oauth-account-selection

Conversation

@Rohit3523

@Rohit3523 Rohit3523 commented Aug 14, 2026

Copy link
Copy Markdown
Member

Proposed changes

Appending &prompt=select_account to the Google OAuth authorization URL forces the account chooser to appear on every login, instead of Google silently reusing the previously authenticated session. This lets users pick a different Google account at login time.

Issue(s)

https://rocketchat.atlassian.net/browse/NATIVE-1493

How to test or reproduce

  1. Open the login screen with Google OAuth enabled on the server
  2. Tap Continue with Google — the account chooser must appear, even if you already logged in with Google before
  3. Select an account and confirm login completes
  4. Repeat login; the chooser should appear each time

Screenshots

N/A

Types of changes

  • Bugfix (non-breaking change which fixes an issue)
  • Improvement (non-breaking change which improves a current function)
  • New feature (non-breaking change which adds functionality)
  • Documentation update (if none of the other choices apply)

Checklist

  • I have read the CONTRIBUTING doc
  • I have signed the CLA
  • Lint and unit tests pass locally with my changes
  • I have added tests that prove my fix is effective or that my feature works (if applicable)
  • I have added necessary documentation (if applicable)
  • Any dependent changes have been merged and published in downstream modules

@coderabbitai

coderabbitai Bot commented Aug 14, 2026

Copy link
Copy Markdown
Contributor

Important

Review skipped

Draft detected.

Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Pro Plus

Run ID: 3bd470e3-a990-44d8-8301-2e65b3ac705f

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • 🔍 Trigger review

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant