Change the One Tap sign-in context

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:

<div id="g_id_onload"
     data-client_id="YOUR_GOOGLE_CLIENT_ID"
     data-login_uri="https://your.domain/your_login_endpoint"
     data-context="use">
</div>