SugiuraY
SugiuraY

Reputation: 351

How to distinguish email-verified user from non-verified user on Firebase Authentication?

I'm using firebase and found could not distinguish email-verified user from non-verified user on user list in console.

I know that we can distinguish those users with code-basis like followings but how can I confirm it on console in Firebase Authentication ?

      UserCredential _result =
                        await _auth.signInWithEmailAndPassword(
                      email: _email,
                      password: _pswd,
                    );

                    _result.user!.sendEmailVerification();

By the way, I believe we cannot change DISPLAY NAME in email template for authentication, is this right or actually we can insert certain value instead ? Please refer the part circled red in Screen Shot below: enter image description here

Upvotes: 0

Views: 56

Answers (1)

Renaud Tarnec
Renaud Tarnec

Reputation: 83058

How can I confirm it on console in Firebase Authentication

There is no way in the console to identify email-verified users from non-verified users

I believe we cannot change DISPLAY NAME in email template for authentication, is this right or actually we can insert certain value instead ?

No you cannot modify the template for email verification. More details in this SO answer. But you can build your own email format/template as described here in the doc.

Upvotes: 1

Related Questions