After redirecting on same page, not get response from Google API after login.
I can confirm this is an issue for a subset of our users. It appears that Firefox and Safari are not impacted, only Google Chrome. All impacted users are on Chrome 79 (but not all users on Chrome 79 experience the issue).
Some more details: The signin dialog opens and the login flow works normally but after the dialog closes neither the onSuccess or onFailure callbacks are called.
In a normal login flow, we see 4 messages passed back to the original window by accounts.google.com. When the login flow fails, only the first 2 messages are sent. We were able to observe this behavior by adding the following code:
window.addEventListener('message',(...args)=>console.log(args))
I faced similar issues but response.getBasicProfile() seems to help
I faced similar issues but response.getBasicProfile() seems to help
Thank you! It's working, I've got the Google response with name etc...
I faced similar issues but response.getBasicProfile() seems to help
Please, Could you explain a little more this solution? Maybe some snippet. @bharathitm @florianzemma
I faced similar issues but response.getBasicProfile() seems to help
Please, Could you explain a little more this solution? Maybe some snippet. @bharathitm @florianzemma
Hi @Danswar look at this :
const responseGoogle = (response) => {
setGoogleResponse(response.getBasicProfile())
}
i do have the same issue :( - any news on this?
Make sure to check any extensions you may have running... I was having the same issue but it turned out to be PrivacyBadger blocking some cookies.
Thank you !!! @DannyHinshaw
Most helpful comment
Make sure to check any extensions you may have running... I was having the same issue but it turned out to be PrivacyBadger blocking some cookies.