Comments (11)
Add Authorized JavaScript origins in the following order if you are using localhost :
Note that you need to add one with port and one without port. Replace the port with your :P
from react-google-login.
So, I've just solved the issues. Problem was, origin url was not allowed, but instead of getting not valid origin error, the window auto closed and I got popup closed by user error.
from react-google-login.
I am having the same issue. I have origin url correctly setup, after I login and grant permissions the windows closes and I receive {error: "popup_closed_by_user"}
from react-google-login.
@camslaz can you paste in how you have the component setup?
from react-google-login.
I have the same error.
Here is my configuration:
[email protected]
<GoogleLoginComponent
clientId="17197425356-c7v22c3kasiir0vjllj5g6sl1gsf07v8.apps.googleusercontent.com"
buttonText="G+"
className="google-login"
autoLoad={true}
onSuccess={this.onGoogleResponse}
onFailure={this.onGoogleFailure}
/>
I've added my dev server URL(http://localhost:8050/) in the origin setting
Every time a popup window close instantly with error {error: "popup_closed_by_user"}
after I've logged in the Google
from react-google-login.
I've found that this error arise when google chrome blocks popup window
from react-google-login.
@1755 did you find any solution for this ?
from react-google-login.
@shishircc It was caused because AdBlok(or Google Chrome) has blocked popups
from react-google-login.
same error.
Here is my configuration:
tried this .still getting same error
from react-google-login.
So, I've just solved the issues. Problem was, origin url was not allowed, but instead of getting not valid origin error, the window auto closed and I got popup closed by user error.
Hey i have also got same erroe
Can you help me to solve this error
from react-google-login.
So, I've just solved the issues. Problem was, origin url was not allowed, but instead of getting not valid origin error, the window auto closed and I got popup closed by user error.
Hey i have also got same erroe
Can you help me to solve this error
from react-google-login.
Related Issues (20)
- SignIn is deprecated for new client application HOT 9
- This document requires 'TrustedScript' assignment. HOT 1
- React 18 HOT 14
- Is the "sub" identifier permanent for particular google account? HOT 2
- The login button is disabled everytime while implementing on next.js. But works fine in terms of react.js. Does this package have support for next? HOT 1
- could not peer react@"^16 || ^17" from [email protected] HOT 12
- popup_closed_by_user HOT 13
- Missing required parameter HOT 4
- Google deprecation-warning HOT 3
- include_granted_scopes default set to true
- Not compatible with React 18 HOT 1
- Not able to filter emails HOT 3
- Still maintained? HOT 2
- 403: Request had insufficient authentication scopes.
- Error "popup_closed_by_user" HOT 3
- OnFailure Method is silently called when page loads and when successfully logged in to Google. HOT 1
- user authentication or authorization deprecation issue HOT 2
- login button is disabled in Production HOT 5
- Migrate to Google Identity Services from Google Sign-In JavaScript library HOT 1
- Please Archive this repo !
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from react-google-login.