Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

220
Views
El método firebase auth.sendSignInLinkToEmail no funciona

instalé firebase en la aplicación de reacción e inicialicé así

 // Import the functions you need from the SDKs you need import { initializeApp } from "firebase/app"; import { getAuth, GoogleAuthProvider } from "firebase/auth" // TODO: Add SDKs for Firebase products that you want to use // https://firebase.google.com/docs/web/setup#available-libraries // Your web app's Firebase configuration const firebaseConfig = {....}; // Initialize Firebase const app = initializeApp(firebaseConfig); // export export const auth = getAuth(app); export const googleAuthProvider = new GoogleAuthProvider();

e importé este archivo en mi componente de reacción como este

 import {auth} from '../../firebase';

y trato de usarlo así

 await auth.sendSignInLinkToEmail(email, config);

y me da este error

ingrese la descripción de la imagen aquí

about 4 years ago · Juan Pablo Isaza
1 answers
Answer question

0

En Firebase v9+, debe usar el método modular sendSignInLinkToEmail() :

 import { auth } from '../../firebase'; import { sendSignInLinkToEmail } from "firebase/auth" await sendSignInLinkToEmail(auth, email, config);

Puede detectar estos errores si se familiariza con el proceso de actualización de SDK con espacio de nombres a SDK modular .

about 4 years ago · Juan Pablo Isaza Report
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!