anthonyjgrove / react-google-login

A React Google Login Component
https://anthonyjgrove.github.io/react-google-login
MIT License
1.84k stars 426 forks source link

React google login is not working in incognito mode #399

Open rohitkothiya opened 3 years ago

rohitkothiya commented 3 years ago

i am getting error in incognito mode as shown in below image. Screenshot from 2020-11-19 14-08-30

RabiNathJha commented 3 years ago

No it's not working, from version 81 chrome blocked third party cookie in incognito mode.

https://developers.google.com/identity/sign-in/web/troubleshooting

Release notes for chrome 81: https://storage.googleapis.com/support-kms-prod/pOoBimb6uEK6GBt3SJxVBoJf0tPzgI89q3yR

I made the wrong comment, it was working on my local machine so I thought its working but it's not. Hence deleting my comment, Apologies.

Thanks.

On Fri, Nov 27, 2020, 11:39 AM Nikunj Mavani notifications@github.com wrote:

@RabiNathJha https://github.com/RabiNathJha its is working on incognito mode ??

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/anthonyjgrove/react-google-login/issues/399#issuecomment-734663055, or unsubscribe https://github.com/notifications/unsubscribe-auth/AGFSPUY7VIUBUVGXABBVTDLSR47DBANCNFSM4T3CYDVQ .

daveteu commented 3 years ago

it's just not working with popup, u can use uxMode="redirect"

dpovey commented 3 years ago

You need to use uxMode: 'redirect' if you want to support incognito mode.

mohdhaider07 commented 1 year ago

You need to use uxMode: 'redirect' if you want to support incognito mode.

It is not working, am getting this error after adding uxMode: 'redirect' image

vivekshah-zymr commented 1 year ago

@mohdhaider07 I am getting the same error, did you find any solution for the same?

gauravsapkal1 commented 1 year ago

uxMode: 'redirect' @dpovey but after using uxMode: 'redirect' i am getting same error @mohdhaider07 "redirect_uri_mismatch"