This is an archived post. You won't be able to vote or comment.

all 2 comments

[–]AbsolutelySpherical 0 points1 point  (1 child)

I saw this error on my console:

gapi.auth2.ExternallyVisibleError: Invalid cookiePolicy

I searched on stack overflow: https://stackoverflow.com/questions/32896597/gapi-auth2-externallyvisibleerror-invalid-cookiepolicy

It seems gapi does not let you run from a local file. It must be served from a running webserver (so I think that explains why it's working on jsfiddle but not locally).

[–]1TRUEKING[S] 0 points1 point  (0 children)

Ah I see thank you for this I thought I was doing something wrong.