gapi.auth2.ExternallyVisibleError: Invalid cookiePolicy

前端 未结 4 1464
执念已碎
执念已碎 2020-12-05 22:28

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 google exampl

4条回答
  •  悲哀的现实
    2020-12-05 23:20

    Well, turns out I was trying to test the API by directly acessing my files locally (index.html). The Google Sign In API only works in a running web server. I started a simple node.js server, ran my app trhough this server, and everthing worked just fine.

提交回复
热议问题