Skip to content

RecaptchaVerifier expired-callback never triggers #7631

@marcusx2

Description

@marcusx2

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.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions