La autenticación telefónica funciona localmente, pero cuando se implementa la aplicación, la autenticación telefónica no funciona. Cuando ingreso mi número y hago clic para recibir otp, aparece un error.
PUBLICAR https://identitytoolkit.googleapis.com/v1/accounts:sendVerificationCode?key=AIzaSyDAcA6ooS6Rzg0jlAItTbWxM3ADJqCX2lE 400
este es mi código:
getOTP(){ this.recaptchaVerifier = new RecaptchaVerifier('phone-verify', {size: 'invisible'}, this.local_auth) let vnumber = this.verify.value.number.slice(1) vnumber = '+27' + vnumber console.log(vnumber) signInWithPhoneNumber(this.local_auth, vnumber, this.recaptchaVerifier) .then((confirmation) => { localStorage.setItem('verificationId',JSON.stringify(confirmation.verificationId)) }).then((response) => { console.log(response) }) .catch((err) => { console.log(err.messge) setTimeout(() => { window.location.reload()}, 5000) }) }Cualquier idea, consejo o solución será bien recibida...