Be sure to load the Google One Tap client library on any page a user might sign in on. Use the following code snippet:
<script src="https://accounts.google.com/gsi/client" async defer></script>
You can optimize your page's loading speed by loading the script with the
defer boolean attributes.