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.
By default, the One Tap prompt is used within a sign-in context. The language in
the prompt contains particular wording, such as "sign in." You can change the
context attribute to create a different set of wording. The following table
lists all the available sign-in contexts and their descriptions:
Context value
Display string
signin
Sign in with Google
signup
Sign up with Google
use
Use with Google
The following code example implements the use context:
[null,null,["Last updated 2024-10-31 UTC."],[[["The default sign-in flow can be customized if the standard method does not meet your specific needs."],["The `context` attribute of the One Tap prompt can be modified to alter the wording displayed to users, for example, changing it from \"sign in\" to \"sign up\" or \"use\"."],["The `context` attribute supports three distinct values: `signin`, `signup`, and `use`, each with its corresponding display string."],["The provided code example shows how to change the context to the `use` option."]]],[]]