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

Aperta
#9,398 2 commenti 0 reazioni 0 assegnatari Vedi su GitHub

I maintainer di solito rispondono entro 1 giorno

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
4/5
Tempo stimato
3-5 giorni
Idoneità per principianti
38/100
Tipo di issue
Bug
Chiarezza
Abbastanza chiara
Stato di attività
Attiva
Stack tecnologico
nodejs, typescript

Direzione di ricerca

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.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

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.

Lingua principale
TypeScript
Stelle
3.2k
Fork
732
Merge medio
2g 11h
PR unite (30g)
99

Preparare l'ambiente

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di googleapis/google-cloud-node

Tutte le issue di googleapis/google-cloud-node

Issue simili

Altre issue su TypeScript

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.