Toggle outside tap to close One Tap

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

By default, the One Tap prompt closes automatically if the user clicks outside of the prompt. You can disable this behavior if you set the data-cancel_on_tap_outside attribute to false. See the following code example:

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