-
Notifications
You must be signed in to change notification settings - Fork 989
Open
Description
Operating System
macOS
Browser Version
Safari 16.5.2
Firebase SDK Version
10.1.0
Firebase SDK Product:
Auth
Describe your project's tooling
index.html with source tag.
Describe the problem
The RecaptchaParameters is said to accept all parameters except sitekey. However, the expired-callback never triggers.
Steps and code to reproduce issue
somehere in the html
<div id="recaptcha-container"></div>
var applicationVerifier = new RecaptchaVerifier(auth, 'recaptcha-container',
{
"callback": response => {//triggers
console.log("success");
}, "expired-callback": () => {//never triggers, even if recaptcha expires after 2 minutes.
console.log("expired");
}, "error-callback": () => {//triggers
console.log("error");
}});
await applicationVerifier.render();//or call verify, doesn't matter.