-
Notifications
You must be signed in to change notification settings - Fork 1k
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
Cross-Origin-Opener-Policy policy would block the window.opener call. #346
Comments
Hi @myusuf-netprem , could you please share the browser console or the node logs for when you face this issue ? IT would help to identify the source of the problem. Thanks! |
Hi @devansh-sharma-tw Thanks for getting back to me. These are the errors I am getting: Thanks |
Hi @myusuf-netprem , thanks for sharing this! Thanks! |
Having same issues with the CORS policy :( |
This is what I get @devansh-sharma-tw https://www.awesomescreenshot.com/image/43175998?key=16f6c1c3ec4189c35eeaa35f600af044 Any suggestions? :) |
Hi @arturbobinski , as mentioned above, the CORS issue is expected and shouldn't be the cause of any error with the app. Based on the console errors you shared, I'm guessing the correct origins are not defined with your Google client ID (2nd last line from the screenshot - @myusuf-netprem , just to check, on your local setup is the Google login failing ? I do see the Thanks! |
Hi @devansh-sharma-tw, we've looked into the issue, and the Google login is not working, and I think it's possible that you may be using the deprecated Sign in for Web library. Thanks |
Hi @myusuf-netprem , we've moved away from the deprecated Sign In implementation to the newer OneTap implementation during the last year itself :) Could you please confirm if you are using the latest code or docker image on your local ? You should be seeing the Google OneTap popup on the top right corner when using private sheets. Additionally, if you are running your local server using npm, can you try adding this: devServer: {
headers: {
'Cross-Origin-Opener-Policy': 'same-origin-allow-popups',
},
}, to Thanks! |
Hello,
When I host locally I am getting the following error: Cross-Origin-Opener-Policy policy would block the window.opener call.
I have exported the client ID and I own the document that I am trying to sign in to. I am using the latest version of the Google Sign-In API and the latest version of Chrome.
Please could you assist?
The text was updated successfully, but these errors were encountered: