บริการ Google Identity กำลังย้ายข้อมูลไปยัง FedCM API ทำตามคำแนะนำในการย้ายข้อมูลเพื่อตรวจสอบการเปลี่ยนแปลงที่อาจเกิดขึ้นและหลีกเลี่ยงผลกระทบในแง่ลบที่ผู้ใช้ลงชื่อเข้าใช้เว็บไซต์ของคุณ
Google One Tap จะจัดเก็บสถานะผู้ใช้ไว้ในคุกกี้ g_state โดยค่าเริ่มต้น ระบบจะตั้งค่าโดเมนคุกกี้เป็นโดเมนของหน้าปัจจุบัน
หาก One Tap แสดงในโดเมนหลักและโดเมนย่อย คุกกี้สถานะต้องแสดงในโดเมนทั้งหมด ในกรณีนี้ คุณต้องตั้งค่าโดเมนคุกกี้เป็นโดเมนหลัก โดยเฉพาะอย่างยิ่งเมื่อตั้งค่าคุกกี้จากโดเมนย่อย
[null,null,["อัปเดตล่าสุด 2024-11-21 UTC"],[[["Google One Tap utilizes the `g_state` cookie to store user status, defaulting to the current page's domain."],["For One Tap functionality across multiple subdomains, the cookie domain should be explicitly set to the parent domain using the `data-state_cookie_domain` parameter."],["This ensures the state cookie is accessible across all related domains, enabling seamless user experiences with One Tap."]]],[]]