Change the One Tap sign-in context

Stay organized with collections Save and categorize content based on your preferences.

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 the available sign-in contexts and their descriptions:

signin "Sign in with Google"
signup "Sign up with Google"
use "Use with Google"

The following code example implements the use context:

<div id="g_id_onload"