I tried to add the login with google function on my project. My code is like followings:
<GoogleLogin
clientId="my clientId"
buttonText="Sign in with Google"
onSuccess={handleSuccess}
onFailure={handleFailure}
cookiePolicy={'single_host_origin'}
className="btn-google"
/>
It is working on general browsers, but not working on incognito browser. On incognito, I got the following error just after entering all credentials of my google account.
{error: "popup_closed_by_user"}