• Michael Beckwith

    (@tw2113)


    The BenchPresser

    Hi,

    I’m running into and noticing some conflicts with other plugins/forms that may be making use of reCAPTCHA version 3 on their own. Specifically I’ve narrowed it down to the CF7 javascript code that is watching for change events and running a grecaptcha.execute(...) call each time. The issue is that it’s replacing that conflicting form’s response and causing invalidation.

    This has me curious about the design decision to have that js run on each form found in the page, as opposed to just having it isolated to CF7 forms specifically. Right now the only solution I can think of is to have the non-CF7 form generate its response to include, perhaps on submit instead of on general page load.

    Thoughts ?

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Takayuki Miyoshi

    (@takayukister)

    If there are multiple components that use reCAPTCHA v3 and all of them share the same API key set (this should be true in most cases), I think it is reasonable to share the response token among the components.

    Thread Starter Michael Beckwith

    (@tw2113)

    The BenchPresser

    Reasonable in theory, but the action parameters are going to be different and that’s where the conflict is coming in

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Conflicts with other form plugins that make use of reCAPTCHA’ is closed to new replies.