I have a Login activity with email and passwords fields, when you fill those fields with credentials of an account created using FirebaseAuth createUserWithEmailAndPassword() method no problem at all.
But when you fill the email and pass fields with credentials of an account created using GoogleSignIn button it gives me this error: The password is invalid or the user does not have a password.
I have tried to send and accept a verification email when a user sets up his account because I thought it had something to do with non-verificated emails, but I still get the error.
- SUMMARY -
So the thing is I want to have 2 ways of registering users, one by filling the email & pass fields and, the other through GoogleSignIn. So my problem is, how do I design a "system" to log in those accounts? I mean, I can log in user who have filled the email & pass fields, but I can not log in users who had use GoogleSignIn.
At this point, it's clear that I'm not understanding well how this process works. Can anyone guide me a little bit about it? Thanks in advance :)
- EDIT -
I have been trying a workaround with giving the user a Google SignIn button in the same Login Activity but I'm also facing a problem which I have already made another StackOverflow post