For each page that a user might sign in on, decide which Sign In With Google components to add to the page. We support the following Sign In With Google components:
Sign In With Google button: The Sign In With Google client library renders this button. When the button is clicked by an end user, the
popup
orredirect
UX flow starts.Google One Tap: This embedded UX allows an end user to sign-in directly when a Google iframe is embedded into your web pages. The Automatic sign-in option enables frictionless user sign-in.
We recommend that you set up your components as follows:
- Add a Sign In With Google button on your main login pages.
- Add Google One Tap to all pages on your site and enable its Automatic sign-in option.