After setting up and running with my own client id I go through the login process and select the needed google account in the popup.
Once this has been selected the login fails with the error in the console being:
err = {error: "popup_closed_by_user"}
can anybody help me to solve this
Try clearing your browser cache.
In Chrome: Settings → Advanced → Clear browsing data → Cached images and files
Even I faced same issues when I want to login using angular4-social-login. It is because of cookies and pop-up settings in the browser. It will work in IE without errors. In Chrome settings go to content settings in that change cookies settings and allow pop-ups. Then clear cache and reload. the app.
If you are testing against localhost with port then we should add port number
in google developer console on Authorized JavaScript origins section like below
http://localhost:3000
Hope this resolve the issue.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With