Be sure to load the Google 3P Authorization JavaScript library on any page a user might load OAuth 2.0 codes or tokens. Use the following code snippet:
<script src="https://accounts.google.com/gsi/client" onload="console.log('TODO: add onload function')"> </script>
You can optimize your page's loading speed if you load the script with the
async
and defer
boolean attributes.