Home > database >  Firebase Auth, email verification without creating a user?
Firebase Auth, email verification without creating a user?

Time:12-14

I want to do email verification through Firebase. My app only accepts phone authentication from users. I also want to send email verification as an additional secondary verification. But I don't want to do createUser.

I only need a verification code.

Is there a way?

CodePudding user response:

But I don't want to do createUser.

There is no way you can verify an email without creating the user first. isEmailVerified is a field that exists inside the FirebaseUser object. If the user doesn't exist, then the FirebaseUser object will be null, so you have to deal with nullity.

Is there a way?

There isn't. You need to have the user created first.

  • Related