React-google-login: Asking to enable Cookies when initializing google login in chrome incognito mode

Created on 20 Jul 2020  路  2Comments  路  Source: anthonyjgrove/react-google-login

Hi,

I have this issue in Chrome browser incognito mode.

In my application When i click on Login a modal will popup like below
image

As soon as popup opens onFailure callback is being called and in responce i am getting error value as "Cookies are not enabled in current environment". Also Google Login button is disabled.

After i close the popup and open again it works fine and Google Login button is enabled.

I want to know why is this behavior and how to eliminate this.

Please help me out with this.

Most helpful comment

  • 1 same problem here in Incognito mode

Hey @aneskurtovic I just resolved it by just changing one browser settings. You just need to allow cookies for all sited.

Go to settings and search for cookies.

Click on Cookies and other site data and check if "Block third-party cookies in Incognito" is checked or not. If checked uncheck and it and select "Allow all cookies".

This should solve the issue.

All 2 comments

  • 1 same problem here in Incognito mode
  • 1 same problem here in Incognito mode

Hey @aneskurtovic I just resolved it by just changing one browser settings. You just need to allow cookies for all sited.

Go to settings and search for cookies.

Click on Cookies and other site data and check if "Block third-party cookies in Incognito" is checked or not. If checked uncheck and it and select "Allow all cookies".

This should solve the issue.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

pogran picture pogran  路  4Comments

MitulGedeeya picture MitulGedeeya  路  3Comments

rishipr picture rishipr  路  7Comments

tameem92 picture tameem92  路  3Comments

bradeac picture bradeac  路  4Comments