react-use-googlelogin
react-use-googlelogin copied to clipboard
Gracefully handle third party cookies disabled error
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?
Hi, has there been any headway on this issue?