שירותי הזהויות של Google עוברים לממשקי API של FedCM. פועלים לפי ההוראות במדריך להעברת נתונים (מיגרציה) כדי לבדוק את השינויים האפשריים ולמנוע השפעות שליליות על הכניסה של המשתמשים לאתר.
כברירת מחדל, ההודעה 'הקשה אחת' מוצגת בפינה השמאלית העליונה של חלונות דפדפני אינטרנט במחשב. כשמשתמשים ב-FedCM, הדפדפן שולט באופן מלא במיקום של ההנחיה. לכן, אין תמיכה בפריסות מותאמות אישית.
לחלופין, אפשר להציג את One Tap בתוך רכיב מאגר כדי לשנות את מיקום ההנחיה.
כדי לעשות זאת, מציינים את מזהה ה-DOM של רכיב הקונטיינר במאפיין data-prompt_parent_id.
בדוגמה הבאה של הקוד נעשה שימוש חוזר ברכיב g_id_onload כרכיב הקונטיינר, וההודעה One Tap מוצגת במיקום שצוין:
[null,null,["עדכון אחרון: 2024-11-08 (שעון UTC)."],[[["With the migration of One Tap to the FedCM API, browsers will control the prompt's size and position, eliminating support for custom positions."],["Developers are advised against customizing the position for new One Tap integrations and to review the migration guide for existing integrations to ensure compatibility."],["Customizing the One Tap login flow is possible, including positioning the prompt within a container element by utilizing the `data-prompt_parent_id` attribute, but avoid obscuring any prompt content to comply with Google's policies."],["Remember that the `data-prompt_parent_id` attribute is disregarded on mobile web browsers, limiting customization in those environments."],["Hiding or manipulating the One Tap prompt's content to misrepresent its origin from a Google iframe can lead to severe consequences, including project or account suspension."]]],[]]