uclaacm / membership-portal-ui

react front end for the acm internal tooling
http://members.uclaacm.com
Mozilla Public License 2.0
8 stars 2 forks source link

Google sign in fails on render when using private browsing #99

Open dtjanaka opened 2 years ago

dtjanaka commented 2 years ago

https://github.com/anthonyjgrove/react-google-login/issues/378#issuecomment-702022996 https://stackoverflow.com/questions/63631849/google-sign-in-not-working-in-incognito-mode/64011425 https://github.com/anthonyjgrove/react-google-login/issues/399#issuecomment-752775459

dtjanaka commented 2 years ago

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

One solution is to request users who have disabled third-party data to create an exception for https://accounts.google.com by adding accounts.google.com to the allowed domains. In Chrome, this is done in chrome://settings/content/cookies.

If many of your users have this feature enabled (some companies enforce this setting for all their employees), another workaround is to implement a server-side OAuth 2.0 flow.

dtjanaka commented 2 years ago

Should be resolved by #105