-
Notifications
You must be signed in to change notification settings - Fork 928
App Check Recaptcha Enterprise fails RecaptchaVerifier for Firebase Auth #6485
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
Duplicate of #6133 |
Duplicate of #6133 |
I'm not able to reproduce this, are you sure you are using the latest version? It should have been fixed by #6133. Is it possible something got left over when upgrading from an older version? Can you clean out your node_modules and yarn.lock and try to reinstall firebase? I tried to create a minimal reproduction using this code:
And everything seemed to work. If a fresh install doesn't help, how and when are you initializing App Check? I didn't see it in the sample code. |
I'll close this issue since it's a duplicate, please reply to #6133 if you're still having issues, and try to provide a minimal repro if possible. |
[REQUIRED] Describe your environment
[REQUIRED] Describe the problem
Steps to reproduce:
The reason why it causes this error is in the recaptcha in RecaptchaVerifier has different value with one has the render function inside enterprise

RecaptchaVerifier without setting up App Check Recaptcha Enterprise (Has No Issue)
RecaptchaVerifier after setting up App Check Recaptcha Enterprise (Error: TypeError: this.getAssertedRecaptcha(...).render is not a function)

I found a possible cause in src/platform_browser/recaptcha/recaptcha_loader.ts
Relevant Code:
The text was updated successfully, but these errors were encountered: