2
votes

How can you verify users that sign in with email and password with a verification email in firebase? How would the logic behind this work and how would it look in code?

Solution/Help: For those still looking for answers I found this Post StackOverFlow Post

1

1 Answers

8
votes

For Email verification

You can send an address verification, email to a user with the sendEmailVerificationWithCompletion: method. As per Firebase document you can check from here.

Auth.auth().currentUser?.sendEmailVerification { (error) in
  // ...
}