Pop up closed by user error
See original GitHub issueSome of my users get pop up closed by user error. One of my team-mates also get the same error and he fixed it with clearing his cache but we can’t ask it to our users, so how can I fix it and be sure about it’s fixed. This is my code if it’s related.
<GoogleLogin
clientId="blablabla.apps.googleusercontent.com"
buttonText="LOGIN"
onSuccess={responseGoogle}
onFailure={responseGoogle}
cookiePolicy={'single_host_origin'}
scope={YOUTUBE_SCOPE}
isSignedIn
/>
Issue Analytics
- State:
- Created 3 years ago
- Comments:9
Top Results From Across the Web
Google SSO login error: "popup_closed_by_user"
popup_closed_by_user issue has occurred because of chrome blocks all the third-party cookies by default. You have to allow a third-party cookie ...
Read more >Error "popup_closed_by_user" · Issue #132 - GitHub
This is likely because your google + api is not enabled. Go to Library and search for plus api. There should be a...
Read more >Google SSO Login error: “pop up closed by user” error
So as you'd guess, the solution is to go to your browser settings, clear all cache and cookies, and disable the setting that...
Read more >Error "popup has been closed by the user before finalizing the ...
One thing to keep in mind, an issue was reported in Chrome when 3rd party cookies and data was disabled, the popup request...
Read more >Google Sign-In JavaScript client reference | Authentication
Error codes. popup_closed_by_user: The user closed the popup before finishing the sign in flow. access_denied: The user denied the ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
window.addEventListener("message", ({ data }) => { console.log(data) })
this solved my issue
It has nothing to do with the package, it’s because of google Oauth. If you want to authenticate with google you have to deal with it. I’m not really sure what the cookie_policy option does but you could try setting it to
none
maybe. @ozenesat