Index
Properties
Properties
code
Unique error code.
Optional credential
The firebase.auth.AuthCredential that can be used to resolve the error.
Optional email
The email of the user's account used for sign-in/linking.
message
Complete error message.
name
Optional phoneNumber
The phone number of the user's account used for sign-in/linking.
Optional tenantId
The tenant ID being used for sign-in/linking. If you use firebase.auth.Auth.signInWithRedirect to sign in, you have to set the tenant ID on Auth instanace again as the tenant ID is not persisted after redirection.
The account conflict error. Refer to firebase.auth.Auth.signInWithPopup for more information.
Common Error Codes
error.email
,error.phoneNumber
, anderror.credential
(firebase.auth.AuthCredential) may be provided, depending on the type of credential. You can recover from this error by signing in witherror.credential
directly via firebase.auth.Auth.signInWithCredential.error.email
anderror.credential
(firebase.auth.AuthCredential) fields are also provided. You have to link the credential to the existing user with that email if you wish to continue signing in with that credential. To do so, call firebase.auth.Auth.fetchSignInMethodsForEmail, sign in toerror.email
via one of the providers returned and then firebase.User.linkWithCredential the original credential to that newly signed in user.