I am using firebase and its google auth tool , everything works fine the user data is getting saved in the database but i get a error every time the popup window appears (Cross-Origin-Opener-Policy policy would block the window.closed call)
i am using next js and do help me resolve the error thank you
2
Answers
I think maybe this topic can help
https://blog.stackblitz.com/posts/cross-browser-with-coop-coep/
If you look in the console you should see an error saying that the domain doesn’t have permission to do google sign in. what you need to do it go to the firebase console -> authentication -> settings and click on authorized domains and add your domain