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

Offen
#9,398 2 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen

Maintainer antworten meist innerhalb von 1 Tag

Dieses Issue hat noch niemand übernommen.

Bewertung

Schwierigkeit
4/5
Geschätzter Aufwand
3-5 Tage
Anfängerfreundlichkeit
38/100
Issue-Typ
Bug
Klarheit
Größtenteils klar
Aktivitätsstatus
Aktiv
Tech-Stack
nodejs, typescript
Bereich
authentication

Rechercherichtung

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.

Vom Indexierungsmodell aus dem Issue-Text verfasst.

Beschreibung

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.

Vorherrschende Sprache
TypeScript
Sterne
3.2k
Forks
732
Ø Merge
2 T. 11 Std.
Gemergte PRs (30 T.)
99

Entwicklungsumgebung

Erste Schritte

  1. Lesen Sie das ganze Issue und danach den Beitragsleitfaden des Projekts.
  2. Schreiben Sie ins Issue, dass Sie es übernehmen — das erspart doppelte Arbeit.
  3. Forken Sie das Repository und arbeiten Sie in einem Branch.
  4. Öffnen Sie einen Pull Request, der die Issue-Nummer nennt.

Mehr aus googleapis/google-cloud-node

Alle Issues in googleapis/google-cloud-node

Ähnliche Issues

Weitere Issues zu TypeScript

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.