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

78
Views
El widget reCAPTCHA no se muestra

Según la documentación de firebase para usar re-CAPTCHA.
Creé un div dentro del formulario de registro.
<div id="recaptcha-container"></div>
y usé el código como se indica en la documentación:

 import { getAuth, RecaptchaVerifier } from "https://www.gstatic.com/firebasejs/9.0.2/firebase-auth.js"; const auth = getAuth(); window.recaptchaVerifier = new RecaptchaVerifier('recaptcha-container', {}, auth);

Pero cuando volví a cargar mi página sign-up.php , mi captcha no se mostró. Incluso yo no recibí ningún error en la consola.

¿Por qué no puedo ver el diseño de captcha?

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

0

Creo que deberías especificar el tamaño a normal, prueba esto:

 import { getAuth, RecaptchaVerifier } from "https://www.gstatic.com/firebasejs/9.0.2/firebase-auth.js"; const auth = getAuth(); window.recaptchaVerifier = new RecaptchaVerifier('recaptcha-container', {'size': 'normal'}, auth);
about 4 years ago · Juan Pablo Isaza Report

0

pasar la instancia de configuración de firebase en getAuth

 const app = initializeApp(firebaseConfig); import { getAuth, RecaptchaVerifier } from "https://www.gstatic.com/firebasejs/9.1.1/firebase-auth.js"; const auth = getAuth(app); window.recaptchaVerifier = new RecaptchaVerifier('recaptcha-container', { 'size': 'normal' }, auth); recaptchaVerifier.render();

para mí también es el mismo problema después de pasar este firbaseConfig en el instante en que muestra el widget reCAPTCHA y lo procesa

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!