1

I was trying to add google sign-in to my website, when I came across an odd error preventing google sign-in from working.

cb=gapi.loaded_0:158 Uncaught gapi.auth2.ExternallyVisibleError: Invalid cookiePolicy

I put all of my info in the meta element of the website and configured it to run on localhost:8080, but, strangely it is not working.

If anyone has any insight on this issue could you please notify me on why this error is occuring, and what could be causing it.

James Balajan
  • 301
  • 4
  • 13
  • Maybe this thread could help you: http://stackoverflow.com/questions/32896597/google-sign-in-auth-invalid-cookie-policy – Rod Aug 16 '16 at 15:47

1 Answers1

4

I was dealing with the same problem finally fixed with:

  • Put the file on a web server.
  • The scripts should be in the header section of the page (I know! )
Rod
  • 386
  • 3
  • 7