title: gapi.auth2.ExternallyVisibleError: Invalid cookiePolicy
body: <p>I'm trying to add a Google Sign In Authentication system to my app, but I keep getting a strange error that I haven't seen anyone get. I'm using EXACTLY the <a href="https://developers.google.com/identity/sign-in/web/" rel="noreferrer">google example code</a>.</p>
  
  <p>I thought it could be some mistake when loading the api, so I checked the async loading and everything seems to be loading properly, but I keep getting this error in the console: </p>
  
  <blockquote>
    <p>gapi.auth2.ExternallyVisibleError: Invalid cookiePolicy</p>
  </blockquote>
  
  <p>I searched everywhere for people with the same problem, but I could not find anything similar.</p>
  
  <p>Any ideas?</p>
  
  <p><strong>EDIT:</strong> I tried to create a page with ONLY the code of the tutorial, but the error still occurs.</p>