What is the error.code of an invalid email in the case of a user registration in Firebase?

0

I'm creating a user registration panel in firebase with email and password through an application on React-Native, then in the registration act, wanted to see if the entered email is valid. As far as I know,

auth/weak-password

This is a small password ... but in the case of an invalid e-mail inserted?

    
asked by anonymous 22.11.2018 / 05:42

1 answer

0

Good! There are some messages related to user / email validation, the main ones being:

auth / invalid-email The value provided for the e-mail user property is invalid. Must be a string email address

auth / user-not-found There is no existing user record corresponding to the provided identifier.

auth / email-already-exists The email provided is already in use by another user. Each user must have an exclusive email address.

A complete reference: link

    
23.11.2018 / 01:18