diff --git a/src/components/register/modules/RegisterDonor.js b/src/components/register/modules/RegisterDonor.js index b155ec2d..0034e14a 100644 --- a/src/components/register/modules/RegisterDonor.js +++ b/src/components/register/modules/RegisterDonor.js @@ -140,7 +140,7 @@ const RegisterDonor = () => { onClick={handleGoogleRegister} loading={googleLoading} > - Sign in with Google + Register with Google OR diff --git a/utils/api/auth.js b/utils/api/auth.js index acec79d4..cc14c17d 100644 --- a/utils/api/auth.js +++ b/utils/api/auth.js @@ -234,6 +234,10 @@ class AuthAPI { async _googleAuth() { const provider = new firebase.auth.GoogleAuthProvider(); + // allow user to select own account + provider.setCustomParameters({ + prompt: 'select_account', + }); return await firebaseAuth.signInWithPopup(provider); }