For some reason all of a sudden log in using this component has stopped this morning. I see that they are deprecating webview logins today, however, I took a peek at the code and it doesn't seem to be using webviews.
Steps to reproduce:
1- pull this repo
2- install it
3- run npm run start
4- try logging in via google
The behaviour i'm seeing is the pop up window shows a 500 error message. Closing sends a "modal window closed" error message to the onFailure callback.
I am experiencing the same issue.
I've confirmed that my client ID works with this component: https://github.com/kennetpostigo/react-google-login-component
@michaelryancaputo I just get Uncaught Object {error: "popup_closed_by_user"} and the console.log within responseGoogle is never called.
@michaelryancaputo Actually, the react-google-login-component is working for me now. Thanks!
I have been having the same problem this morning.
I'm experiencing the same problem
Same problem here !
I am seeing the same problem as well :(
i'm looking into it now.
@modosc does this solve the issue?
https://github.com/google/google-api-javascript-client/issues/291
it's part of it yes, i'll have the pr up in a few minutes.
see #64
@modosc Looking at your code. What was the problem exactly ?
published PR to NPM hopefully that fixes it.
@anthonyjgrove You should make a new semver tag after the fix. :) https://docs.npmjs.com/getting-started/publishing-npm-packages
See the Updating the package part ☝️
@anthonyjgrove can you publish your PR changes to npm please? Thanks.
npm update -f pulled the updates in for me! Works great - Thanks!
I agree, this warrants a new semver tag.
Yeah... I'm still getting the previous version with running yarn and having to force with the npm update -f command, I can't put this into production (or even staging for that matter) without a semver.
I only need to do:
$ npm update
[email protected] my-react-app
└── [email protected]
And it updates without problems.
I confirm that the update fixes the problem! It works like a charm!!
It's a little weird that in master we have 2.8.6 https://github.com/anthonyjgrove/react-google-login/blob/master/package.json#L3
but it's 2.8.7 in npm?
Hmm, must not have committed the changes?
I am not currently using this in any of my projects at the moment. Are any of you interested in being added as a collaborator to help me maintain this package?
@anthonyjgrove Sure
Most helpful comment
i'm looking into it now.