skip to Main Content

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)

enter image description hereenter image description here

i am using next js and do help me resolve the error thank you

2

Answers


  1. 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

    Login or Signup to reply.
Please signup or login to give your own answer.
Back To Top
Search