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

Đang mở
#9,398 2 bình luận 0 reaction 0 người được giao Xem trên GitHub

Maintainer thường phản hồi trong vòng 1 ngày

Chưa có ai nhận issue này.

Đánh giá

Độ khó
4/5
Thời gian dự kiến
3-5 ngày
Mức phù hợp với người mới
38/100
Loại issue
Lỗi
Độ rõ ràng
Khá rõ ràng
Mức độ hoạt động
Sôi nổi
Công nghệ
nodejs, typescript
Lĩnh vực
authentication

Hướng nghiên cứu

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.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

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.

Ngôn ngữ chính
TypeScript
Star
3.2k
Fork
732
Merge trung bình
2 ngày 11 giờ
Pull request đã merge (30 ngày)
99

Chuẩn bị môi trường

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của googleapis/google-cloud-node

Tất cả issue của googleapis/google-cloud-node

Issue tương tự

Thêm issue về TypeScript

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.