AxeWP / wp-graphql-gravity-forms

GraphQL API for interacting with Gravity Forms.
GNU General Public License v3.0
163 stars 29 forks source link

[Feature Request] Support GF reCAPTCHA v3 add-on #343

Open Ririshi opened 1 year ago

Ririshi commented 1 year ago

What problem does this address?

I'd like to use Google reCAPTCHA v3, which is supported by Gravity Forms through an add-on, available from their website.

What is your proposed solution?

When the reCAPTCHA v3 GF add-on is installed and activated, and reCAPTCHA v3 is configured with API keys and a score threshold, add a field to the submit mutation that allows sending the reCAPTCHA v3 response token along. Upon submitting, verify the token and handle the form based on the score threshold set in the GF settings. That is, send it if the score exceeds the threshold, or mark it as spam otherwise.

What alternatives have you considered?

Using reCAPTCHA v2 is possible already, and is a decent alternative. However, it does not function exactly how v3 does.

Additional Context

No response

justlevine commented 1 year ago

Hey @Ririshi - great suggestion!

My current priority is feature parity with Gravity Forms core, but if you submit a PR, I'd be happy to review and include support for this extension sooner.

Alternatively, if someone wants to sponsor this feature's development, feel free to reach out to me on the WPGraphQL Slack or GitHub Sponsors.

jan-clockworkwp commented 3 months ago

Was there any progress made on this feature request?

justlevine commented 3 months ago

@jan-clockworkwp no takers yet sadly