I Want To Check If User Exist Before Login If Not They Must Sign Up, In Firebase Google Auth

Solution 1:

You'll need to know at least part of the user's credentials to check if they already exist in Firebase Authentication.

For example, if the user signed in with a provider that requires their email before, you'll should ask them for their email address next time and then call fetchSignInMethodsForEmail to determine if Firebase already has a user for that email address.