Skip to content

fix(connect): make Google WaaS sign-in directly interactive#606

Open
AlexanderKolberg wants to merge 5 commits into
masterfrom
fix/google-waas-button
Open

fix(connect): make Google WaaS sign-in directly interactive#606
AlexanderKolberg wants to merge 5 commits into
masterfrom
fix/google-waas-button

Conversation

@AlexanderKolberg

@AlexanderKolberg AlexanderKolberg commented Jul 11, 2026

Copy link
Copy Markdown
Member

Ticket link:

API breaking changes:

  • Yes
  • No

Manual testing required:

  • Yes
  • No

Docs changes required:

  • Yes
  • No

Description

It looks like Google login broke following Chromium's coordinate-spoofing protection for async hit-testing, affecting users on Android and Windows running Chromium 149 and newer.

The previous implementation placed a nearly transparent Google Identity Services iframe behind a custom button and enlarged it with transform: scale(100). It also started the connection loader from the parent card's click handler. This depended on fragile cross-origin iframe hit-testing: when the click remained in the parent document, the UI showed “Continue on the popup” even though Google never received the interaction and no popup opened.

This PR removes that click-proxying approach and keeps Google's official control visible and directly interactive.

Unfortunately, this makes the Google button look a little less polished than the previous custom facade. Google's cross-origin iframe controls its own typography, logo, and spacing, so matching the previous UI exactly would require returning to the fragile click-proxying approach.

Before

Google login UI before

After

Google login UI after

@AlexanderKolberg AlexanderKolberg requested a review from a team as a code owner July 11, 2026 11:53
@cloudflare-workers-and-pages

cloudflare-workers-and-pages Bot commented Jul 11, 2026

Copy link
Copy Markdown

Deploying web-sdk-react-example with  Cloudflare Pages  Cloudflare Pages

Latest commit: a2b740a
Status: ✅  Deploy successful!
Preview URL: https://8721b539.web-sdk-react-example.pages.dev
Branch Preview URL: https://fix-google-waas-button.web-sdk-react-example.pages.dev

View logs

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: c255aeb91f

ℹ️ About Codex in GitHub

Codex has been enabled to automatically review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

When you sign up for Codex through ChatGPT, Codex can also answer questions or update the PR, like "@codex address that feedback".

Comment thread packages/connect/src/components/ConnectButton/ConnectButton.tsx
Comment thread packages/connect/src/components/ConnectButton/ConnectButton.tsx
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