Ghi chú phát hành về tính năng Đăng nhập bằng Google
Sử dụng bộ sưu tập để sắp xếp ngăn nắp các trang
Lưu và phân loại nội dung dựa trên lựa chọn ưu tiên của bạn.
Trang này chứa danh sách các tính năng mới và thay đổi đáng kể đối với thư viện JavaScript Dịch vụ nhận dạng của Google.
2025-03-17
2024-12-01
2023-12-21
Bản thử nghiệm của tính năng Quản lý thông tin xác thực liên kết (FedCM) cho Dịch vụ danh tính của Google đã ra mắt vào tháng 8 năm 2023. Nhiều nhà phát triển đã thử nghiệm API này và đưa ra ý kiến phản hồi có giá trị.
Một phản hồi mà Google nhận được từ các nhà phát triển là về yêu cầu đối với cử chỉ của người dùng trong quy trình đăng nhập tự động FedCM. Để tăng cường quyền riêng tư, Chrome yêu cầu người dùng xác nhận lại rằng họ muốn đăng nhập vào trang web bằng Tài khoản Google trong mỗi phiên bản Chrome, ngay cả khi người dùng đã phê duyệt trang web trước khi triển khai FedCM. Người dùng chỉ cần nhấp một lần vào lời nhắc Một lần nhấn để xác nhận lại một lần này, qua đó thể hiện ý định đăng nhập của họ. Thay đổi này có thể gây gián đoạn ban đầu về tỷ lệ chuyển đổi đăng nhập tự động cho một số trang web.
Gần đây, trong phiên bản M121, Chrome đã thay đổi giao diện người dùng của quy trình đăng nhập tự động FedCM. Bạn chỉ cần xác nhận lại khi cookie của bên thứ ba bị hạn chế. Điều này có nghĩa là:
Trước khi các quy định hạn chế về cookie của bên thứ ba được tăng lên 100% (xem trang Tin tức và nội dung cập nhật của Hộp cát về quyền riêng tư để biết tiến trình mới nhất), tính năng đăng nhập tự động bằng FedCM không yêu cầu người dùng cũ xác nhận lại.
Nếu người dùng xác nhận lại bằng giao diện người dùng FedCM, thì lần xác nhận lại này sẽ được tính vào yêu cầu về cử chỉ của người dùng.
Tính năng tự động đăng nhập FedCM sẽ kiểm tra trạng thái xác nhận khi người dùng hạn chế cookie của bên thứ ba theo cách thủ công hoặc theo mặc định trong Chrome trong tương lai.
Với thay đổi này, tất cả nhà phát triển sử dụng tính năng đăng nhập tự động nên chuyển sang FedCM càng sớm càng tốt để giảm thiểu sự gián đoạn đối với tỷ lệ chuyển đổi của tính năng đăng nhập tự động.
Đối với quy trình đăng nhập tự động, GIS JavaScript sẽ không kích hoạt FedCM trên Chrome cũ (trước M121), ngay cả khi trang web của bạn chọn sử dụng FedCM.
2023-08-15
- Thêm tính năng hỗ trợ cho API Quản lý thông tin xác thực liên kết (FedCM).
- Accelerated Mobile Pages không được hỗ trợ. Bạn không thể sử dụng AMP khi bật FedCM.
2022-04-12
2021-4-13
2021-03-17
2020-3-24
Trừ phi có lưu ý khác, nội dung của trang này được cấp phép theo Giấy phép ghi nhận tác giả 4.0 của Creative Commons và các mẫu mã lập trình được cấp phép theo Giấy phép Apache 2.0. Để biết thông tin chi tiết, vui lòng tham khảo Chính sách trang web của Google Developers. Java là nhãn hiệu đã đăng ký của Oracle và/hoặc các đơn vị liên kết với Oracle.
Cập nhật lần gần đây nhất: 2025-03-17 UTC.
[null,null,["Cập nhật lần gần đây nhất: 2025-03-17 UTC."],[[["\u003cp\u003eGoogle Identity Services JavaScript library now supports Federated Credential Management (FedCM) to improve automatic sign-in flows, though reconfirmation may be required initially for enhanced privacy.\u003c/p\u003e\n"],["\u003cp\u003e"Sign in with Google" button now supports Family Link and adheres to Google Workspace policies.\u003c/p\u003e\n"],["\u003cp\u003eAMP support has been removed when FedCM is enabled.\u003c/p\u003e\n"],["\u003cp\u003eChrome users may need to reconfirm sign-in with Google Account in each instance for privacy reasons, with exceptions based on third-party cookie settings.\u003c/p\u003e\n"],["\u003cp\u003eDevelopers are encouraged to migrate to FedCM to minimize potential disruptions to automatic sign-in conversion rates.\u003c/p\u003e\n"]]],[],null,["# Sign In With Google Release Notes\n\nThis page contains a list of the new features and significant changes to the\nGoogle Identity Services JavaScript library.\n\n2025-03-17\n----------\n\n- [Sign in with Google button](/identity/gsi/web/guides/personalized-button) supports [Federated Credential Management (FedCM)](https://developers.google.com/privacy-sandbox/cookies/fedcm) and adhere to [Google Workspace](https://workspace.google.com/) policies set by the organization's administrator.\n\n2024-12-01\n----------\n\n- [Sign in with Google button](/identity/gsi/web/guides/personalized-button) supports [Family Link](https://families.google/familylink/) and adhere to [Google Workspace](https://workspace.google.com/) policies set by the organization's administrator.\n\n2023-12-21\n----------\n\n- [Federated Credential Management (FedCM) Beta](https://developers.googleblog.com/2023/08/announcing-federated-credential-management-beta-for-gis.html) for Google Identity\n Services was launched in August 2023. Many developers tested the API and have\n provided valuable feedback.\n\n One response Google heard from developers is about the FedCM automatic sign-in\n flow user gesture requirement. For improved privacy, Chrome requires users to\n reconfirm that they want to sign in to the website with Google Account in each\n Chrome instance even if the user approved the website prior to the FedCM\n rollout. This one-time reconfirmation is achieved through a single click of\n the One Tap prompt to demonstrate user intent to sign-in. This change may\n cause an initial disruption in automatic sign-in conversion rates for some\n websites.\n\n Recently in M121, Chrome made a [change](https://developers.google.com/privacy-sandbox/3pcd/fedcm-updates#chrome_121_december_2023) to the FedCM automatic sign-in\n flow UX. The reconfirmation is only required when third-party cookies are\n restricted. This means:\n 1. Before third-party cookie restrictions are ramped up to 100% (see Privacy\n Sandbox [News and Update](https://privacysandbox.com/news/) page for latest timeline),\n FedCM automatic sign-in does not require reconfirmation for returning users.\n If users reconfirm with FedCM UI, this reconfirmation will count toward the\n user gesture requirement.\n\n 2. FedCM automatic sign-in will check the confirmation status when the\n third-party cookies are manually restricted by users today, or by default in\n future Chrome.\n\n With this change, we recommend all automatic sign-in developers migrate to\n FedCM as soon as possible, to reduce disruption to automatic sign-in\n conversion rates.\n\n For the automatic sign-in flow, GIS JavaScript won't trigger FedCM on an older\n Chrome (before M121), even if your website chooses to opt-in to FedCM.\n\n2023-08-15\n----------\n\n- Added [support](/identity/gsi/web/guides/supported-browsers#third-party_cookies) for the Federated Credential Management API (FedCM).\n- [Accelerated Mobile Pages](/identity/gsi/web/amp/amp) is unsupported. AMP is not available when FedCM is enabled.\n\n2022-04-12\n----------\n\n- [Upgraded One Tap UX on ITP browsers](/identity/gsi/web/guides/features#upgraded_ux_on_itp_browsers) is supported.\n\n2021-4-13\n---------\n\n- [Sign In With Google button](/identity/gsi/web/guides/personalized-button) is supported.\n\n2021-03-17\n----------\n\n- [Accelerated Mobile Pages](/identity/gsi/web/amp/amp) is supported.\n\n2020-3-24\n---------\n\n- [Exponential Cool Down](/identity/gsi/web/guides/features#exponential_cool_down) is supported."]]