Empresas
Empleos
  • Sobre nosotros
  • Soluciones
    • Publicación de vacantes
      Publica tu vacante y recibe candidatos calificados en 48h.
    • Evaluación de candidatos
      500+ pruebas técnicas y psicológicas, más anti-fraude.
    • Headhunting
      Búsqueda ejecutiva a la medida de principio a fin.
    • Nómina + EOR
      Dispersión de nómina y EOR en más de 15 países de LATAM.
  • Precios
  • Empleos

0

634
Vistas
ERROR FirebaseError: Error (auth/argument-error) Firebase V9 Angular

I'm trying to implement logging in with mobile number.

Below is my code,

In Login Component HTML

          <a  class="btn btn-default btn-lg shadow-sm" (click)="authService.SignInwithMobileNumber(mobileNo.value)">Sign In</a>

In Auth Service.ts

  SignInwithMobileNumber(phoneNumber) {
    this.reCaptchaVerifier = new RecaptchaVerifier('recaptcha-container', {
      'size':'invisible',
      'callback': (response:any) => {},
      'expired-callback': () => {}
    }, this.auth)
    console.log(this.reCaptchaVerifier);

    return this.afAuth
      .signInWithPhoneNumber(phoneNumber, this.reCaptchaVerifier)
      .then((confirmationResult) => {
        localStorage.setItem(
          'verificationId',
          JSON.stringify(confirmationResult.verificationId)
        );
        this.ngZone.run(() => {
          this.router.navigate(['/verify']);
        });
      })
      .catch((error) => {
        console.log(error.message);
        alert(error.message);
      });
  }

Below is the error, I'm getting while trying to login

ERROR FirebaseError: Firebase: Error (auth/argument-error)
about 4 years ago · Juan Pablo Isaza
Responde la pregunta
Encuentra empleos remotos

¡Descubre la nueva forma de encontrar empleo!

Top de empleos
Top categorías de empleo
Empresas
Publicar vacante Precios Comercial
Legal
Términos y condiciones Política de privacidad
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomiéndame algunas ofertas
Necesito ayuda