Closed kennyjhcheng closed 11 months ago
Seeing a blank google login popup, did I miss a step?
This error seems relevant: client:178 Cross-Origin-Opener-Policy policy would block the window.closed call.
https://developers.google.com/identity/gsi/web/guides/get-google-api-clientid#cross_origin_opener_policy
ENV File:
Record:
In this PR:
client/.env
for GCP addREACT_APP_GCP_CLIENT_ID=130203680740-fujge3ued302ncjq7fn5576co6pc0t54.apps.googleusercontent.com
UseNoProfileRedirect
- if no user profile, redirect to/signup
useRemoveSignup
- after logging in, removing any unnecessarysignup
data/
landing page, cuz it behaved betterProfile
page, avatar not uploadingSignupRegisterAccount
to use our Form component and integrated with google loginLogin
page, using new auth reducergoogleLogin
for redirect to signup if google logging in for first time.If possible when reviewing this PR, please try to run it and run through some random workflows logging in/signing up/google login/logout to see if there's still any bugs.
https://github.com/jakji93/airon-fitness/assets/67628346/cd52461b-bda4-4d4f-b436-86bb82a1ebae