express-recaptcha icon indicating copy to clipboard operation
express-recaptcha copied to clipboard

Expired Session / Cookie

Open 1Map opened this issue 6 years ago • 1 comments

Hi,

All is working fine, except when the Recaptcha session expires. Let's say you have a login page with recaptcha validation. Now, open the page and leave the form open for some time (so recaptcha session expires) - Not sure but I think more than 2 minutes. Then login. This gives a recaptcha validation error. How can one handle this type of behaviour? I am using v3

1Map avatar Aug 27 '19 10:08 1Map

I guess the API is returning this error code: timeout-or-duplicate. https://developers.google.com/recaptcha/docs/verify#error_code_reference I just need to do some changes to implement it. I'll let you know when it's available

pdupavillon avatar Oct 07 '19 21:10 pdupavillon