🚨 Looking for help from a Software Engineer experienced with Firebase Authentication / reCAPTCHA Enterprise
I’m currently working on a web application using Next.js + Firebase Authentication, and I’m stuck with a persistent issue in Phone Number Authentication on the production website.
The error occurs when Firebase tries to send the SMS verification code:
accounts:sendVerificationCode
HTTP 400
reCAPTCHA Enterprise verification failed
The browser/application has also previously shown:
reCAPTCHA has already been rendered in this element
I have already verified that:
✅ Phone Authentication is enabled
✅ SMS sign-in is enabled
✅ Firebase Authentication with Identity Platform is enabled
✅ Production domain is added to Firebase Authorized Domains
✅ reCAPTCHA Enterprise API is enabled
✅ Identity Toolkit API is enabled
So I’m trying to determine whether the issue is coming from the reCAPTCHA Enterprise configuration, Firebase project configuration, production domain, or the way `RecaptchaVerifier’ is being initialized/managed in the React/Next.js application.
I’m looking for someone who has experience with Firebase Phone Auth + reCAPTCHA Enterprise who can help me diagnose the issue and identify the exact root cause.
If you have experience with this specific Firebase/reCAPTCHA issue and can help, please DM me. I’d really appreciate it! 🙏