I will show you how to use Google One Tap in your project. For this, i use my own npm package google-one-tap.
Get your Google API client ID
Open the “Credentials” page of the Google APIs console.
Create or select a Google APIs project. If you already have a Google Sign-In button, use the existing project and the web client ID.