-
Notifications
You must be signed in to change notification settings - Fork 560
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
idpiframe_initialization_failed #6
Comments
The Google Sign-in library requires that 3rd party cookies and data not be blocked by the browser: More details are available in this thread: google/google-api-javascript-client#260 Although the maintainer appears to be working on a partial solution, the recommendation at the moment is to either catch the error and alert the user or implement a server-side flow instead. |
Closing due to inactivity. |
Sir, My website: |
Google sign in stops working in recent Chrome! Because it disabled 3rd party cookies in incognito tab by default |
Hi,
I followed the instruction on https://developers.google.com/gmail/api/quickstart/js
1st problem is, there's no placeholder <YOUR_API_KEY> in the code as mentioned in the instruction.
2nd problem is, when run the quickstart.html page in Chrome (http://localhost:8000/quickstart.html) using Python 2.7 on windows 7 machine, it only shows the header "Gmail API Quickstart" and nothing else. With F12, in console it says:
Uncaught Object
details: "Cookies are not enabled in current environment."
error:"idpiframe_initialization_failed"
Screen dump attached.
I later tried the same code from Chrome on my MacBook and it worked. I also realised as the windows 7 machine is my work laptop, our corporate AD policy forced the "block third party cookies" setting to be enabled. Not sure if that's related?
The text was updated successfully, but these errors were encountered: