Google Identity Services is migrating to FedCM APIs. Follow the migration guide to review potential changes and avoid negative impacts for user sign-in to your website.
The data-login_uri attribute is the URI of the login endpoint of your own web
app. You can add custom data attributes, which are sent to your login endpoint
with the ID token retrieved from Google.
This section only applies when FedCM is disabled, when FedCM is enabled the
browser displays user prompts on top of page content.
To make sure end users see all the information displayed, Google One Tap must
not be covered by any other content. Otherwise, pop-up windows may be triggered
in some cases.
Double check your page layout and elements' z-index properties, to make sure
Google One Tap is not covered by any other content at any time. The UX flow
change may be triggered even when only a single pixel in the borders is covered.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2024-10-31 UTC."],[[["Google One Tap is implemented by placing a code snippet with a `g_id_onload` div containing your Google client ID and login endpoint URI on your webpages."],["Custom data attributes can be added to the `g_id_onload` div and will be sent to your login endpoint with the ID token."],["To avoid triggering pop-up windows, ensure Google One Tap is not covered by any other content on your page, including checking z-index properties."],["It's crucial to never obscure any part of the One Tap prompt, as it could lead to project or account suspension."],["An interactive Code Generator tool can assist in customizing Google One Tap and generating the necessary code snippet."]]],[]]