vue3-google-login
vue3-google-login copied to clipboard
I Got Cross-Origin-Opener-Policy Error But the popup is shown
I setup my application as the mannual and also the google cloud
Could anyone help me about this error message?
I've got the same:
Same issue :(
For all those who are experiencing the error, I realized that my deployment of the static app ( in my case on azure ) was not correct, so in the staticwebapp.config.json
file I configured the headers like this
"globalHeaders": {
"Access-Control-Allow-Origin": "*",
"Access-Control-Allow-Methods": "POST, GET, OPTIONS",
""Cross-Origin-Opener-Policy": "same-origin-allow-popups"",
"referrer-policy": "strict-origin-when-cross-origin"
}
and everything works correctly.
How to do it in vue 3 ?
@cavid90 @Wasabiiiiiii @pine630 @pjkostrzewski @joseperu2503
Sorry for the late reply guys, I can't replicate this issue on my side. I doubt this might be an error shown from Google 3P Authorization JavaScript Library, as this is just a wrapper around this library. I guess this might have fixed. Please reopen if this issue still exist.