react-use-googlelogin icon indicating copy to clipboard operation
react-use-googlelogin copied to clipboard

Gracefully handle third party cookies disabled error

Open zhibek opened this issue 4 years ago • 1 comments

If third party cookies are disabled, Google Sign-In cannot function: https://developers.google.com/identity/sign-in/web/troubleshooting#third-party_cookies_and_data_blocked

This issue cannot be worked around, but using react-use-googlelogin we can't detect this error so we cannot indicate the problem to users.

We're experimenting adding a catch() to window.gapi.auth2.init(config), then react-use-googlelogin can handle this error and allow us to determine that the error has occurred. However, is there an existing mechanism we can use to do this without modifying the library?

zhibek avatar Jul 21 '20 10:07 zhibek

Hi, has there been any headway on this issue?

bscholer avatar Jun 29 '21 15:06 bscholer