Google One Tap opens unusably small window for Safari when Privacy / Prevent cross-site tracking is enabled

オープン
#9,398 コメント 2 件 リアクション 0 件 担当者 0 名 GitHub で見る

メンテナーはふだん 1 日以内に返信

まだ誰も着手していません。

評価

難易度
4/5
見積もり時間
3〜5日
初心者へのやさしさ
38/100
issue の種類
バグ
明瞭さ
おおむね明確
活発さ
活発
技術スタック
nodejs, typescript

調査の方向性

Start by reproducing the issue with [email protected] at the linked schoolhouseyoga.com site using Safari with Prevent cross-site tracking enabled, then compare Google One Tap with the standard Sign in with Google button. Inspect the google-auth-library authentication flow and verify that the One Tap window is usable and centered without breaking the existing sign-in behavior.

索引モデルが issue の本文から書いたものです。

説明

Please make sure you have searched for information in the following guides.
Library Name

google-auth-library

A screenshot that you have tested with "Try this API".

Our website uses [email protected]. When users with Safari (macOS) who have Privacy / Prevent cross-site tracking enabled navigate to our website and click the Continue button in the Google One Tap, a new window opens for them to select their user. This window is incorrectly sized and not centered on their screen.

Image

If the Safari user has Privacy / Prevent cross-site tracking disabled, the problem does not occur.

Additionally, if they use the standard Sign in with Google button on our /login page, the problem does not occur.

Link to the code that reproduces this issue. A link to a public Github Repository or gist with a minimal reproduction.

https://www.schoolhouseyoga.com

A step-by-step description of how to reproduce the issue, based on the linked reproduction.
  1. Set your macOS 26.x or 27.x computer's resolution to 1512 x 982 (MacBook Pro 14 default)
  2. Using Safari 26 or 27, go to Settings -> Privacy and enabled "Prevent cross-site tracking".
  3. Quit and re-launch Safari
  4. Navigate to https://www.schoolhouseyoga.com
  5. Click the Continue button in the Google One Tap area.
    Result: Undersized window will appear on the left (not centered). Size of window is not usable nor can it apparently be adjusted using code.
A clear and concise description of what the bug is, and what you expected to happen.

Clicking the Google One Tap Continue button opens an undersized window that is hard to use. Expected a window size similar to what is opened by the Sign in with Google button. I also expected it to be centered.

A clear and concise description WHY you expect this behavior, i.e., was it a recent change, there is documentation that points to this behavior, etc. **

I expect this behavior because the current window size is not usable. Users on Safari have to scroll the small window before any of the selections are usable.

We are probably going to drop Google One Tap until this is fixed.

主要言語
TypeScript
スター
3.2k
フォーク
732
平均マージ
2日 11時間
マージ済み PR(30日)
99

環境構築

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

googleapis/google-cloud-node のほかの issue

googleapis/google-cloud-node の issue をすべて見る

似ている issue

TypeScript の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。