appsmithorg / appsmith

Platform to build admin panels, internal tools, and dashboards. Integrates with 25+ databases and any API.
https://www.appsmith.com
Apache License 2.0
33.95k stars 3.66k forks source link

[Bug]: Token is getting generated when we use v3 recatchaKey and keep captcha version as v2 #10027

Closed vivekverma2312 closed 2 years ago

vivekverma2312 commented 2 years ago

Is there an existing issue for this?

Current Behavior

LOOM DEMO

Steps To Reproduce

  1. Drag and drop a Button widget
  2. Enter recatcha v3 key and keep version as v2
  3. Click on Button widget
  4. Observe that token is getting generated

Environment

Production

Version

Cloud

vibhandikyash commented 2 years ago

@vivekverma2312 Seems like the Google's Recaptcha has backward compatibility and the same key works for both versions. Also, upon investigation it seems like there is no such identifier which can state that this is of v2 or v3.