AuthErrorCode

enum AuthErrorCode : Int

Error codes used by Firebase Auth.

  • Indicates a validation error with the custom token.

    Declaration

    Swift

    case invalidCustomToken = 17000
  • Indicates the service account and the API key belong to different projects.

    Declaration

    Swift

    case customTokenMismatch = 17002
  • Indicates the IDP token or requestUri is invalid.

    Declaration

    Swift

    case invalidCredential = 17004
  • Indicates the user’s account is disabled on the server.

    Declaration

    Swift

    case userDisabled = 17005
  • Indicates the administrator disabled sign in with the specified identity provider.

    Declaration

    Swift

    case operationNotAllowed = 17006
  • Indicates the email used to attempt a sign up is already in use.

    Declaration

    Swift

    case emailAlreadyInUse = 17007
  • Indicates the email is invalid.

    Declaration

    Swift

    case invalidEmail = 17008
  • Indicates the user attempted sign in with a wrong password.

    Declaration

    Swift

    case wrongPassword = 17009
  • Indicates that too many requests were made to a server method.

    Declaration

    Swift

    case tooManyRequests = 17010
  • Indicates the user account was not found.

    Declaration

    Swift

    case userNotFound = 17011
  • Indicates account linking is required.

    Declaration

    Swift

    case accountExistsWithDifferentCredential = 17012
  • Indicates the user has attemped to change email or password more than 5 minutes after signing in.

    Declaration

    Swift

    case requiresRecentLogin = 17014
  • Indicates an attempt to link a provider to which the account is already linked.

    Declaration

    Swift

    case providerAlreadyLinked = 17015
  • Indicates an attempt to unlink a provider that is not linked.

    Declaration

    Swift

    case noSuchProvider = 17016