Hello,

With reCAPTCHA v3 actions, if I set the threshold to '1' would that mean that the challenge will always (or nearly always fail) fail and therfore the fallback challenge will be activated? For example, reCAPTCHA (from module recaptcha).

I'm trying to check that the fallback challenge gets activated but currently unable to as the form is always submitted.

I have the reCAPTVHA v3 logo displayed at the bottom right of the form so believe that's correctly working.

Finally, if I was to set the threshold to '0' would that mean the fallback challenge would never be activated?

Many thanks.

Command icon Show commands

Start within a Git clone of the project using the version control instructions.

Or, if you do not have SSH keys set up on git.drupalcode.org:

Comments

mikee created an issue. See original summary.

dench0’s picture

if I set the threshold to '1' would that mean that the challenge will always (or nearly always fail) fail and therfore the fallback challenge will be activated

yes, it will always fail if google is not fully convinced that you are human. You can try to submit the form in the private tab.

Finally, if I was to set the threshold to '0' would that mean the fallback challenge would never be activated?

I think so, but I cannot say with absolute certainty because I have never tested this case.

dench0’s picture

Status: Active » Fixed
qzmenko’s picture

Title: Threshold clarification » Add "threshold" field description
Version: 8.x-1.6 » 8.x-1.x-dev
Component: Miscellaneous » Code
Category: Support request » Task
Status: Fixed » Needs work
Issue tags: -Threshold

I suggest reopen this issue and add a description for the "Threshold" field. At the moment it is really unclear what this field means without any explanation. At least we can add a short explanation and a link to the recaptcha documentation: https://developers.google.com/recaptcha/docs/v3#interpreting_the_score.
I also suggest adding a default value of 0.5, instead of 1, as recommended in the documentation.

dench0’s picture

Status: Needs work » Needs review
Jaspreet-Kaur’s picture

MR! 8 worked for me! Thanks

dench0’s picture

Status: Needs review » Reviewed & tested by the community

  • dench0 committed 29f5bc8a on 8.x-1.x
    Issue #3308589 by dench0, mikee, qzmenko, Jaspreet-Kaur: Add "threshold...
dench0’s picture

Status: Reviewed & tested by the community » Fixed

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.