【问题标题】:Recaptcha Enterprise - missing invisible recaptchaRecaptcha Enterprise - 缺少不可见的 Recaptcha
【发布时间】:2021-09-21 17:23:37
【问题描述】:

Recaptcha 的付费 Google 帐户中的 Recaptcha 点击次数超过 1,000,000 次的网站(来自 google 的免费配额)。

没有选项可以选择免费 Recaptcha 上可用的不可见 v2 Recaptcha,只有复选框选项或 Recaptcha 企业版 (v3)。

当尝试使用复选框版本时,即

Checkbox ("I'm not a robot") with scoring

站点密钥并尝试在 size="invisible" 中实现它,我在 recaptcha 徽章上得到了这个文本。:

没有为不可见的验证码启用此站点密钥。


当使用 Recaptcha 企业版时,即

Scoring, with no visible challenge to your users

渲染正常,但当然不会遇到任何挑战..

知道如何在付费版本中使用隐形 Recaptcha 吗? 看来我付费并获得的选项比免费版本少。

谢谢

【问题讨论】:

  • 我看到你已经有两个关于这个问题的答案了,这些答案对你解决问题有帮助吗?你能自己解决这个问题吗?

标签: recaptcha invisible-recaptcha recaptcha-enterprise


【解决方案1】:

您可以将不可见的 Google Recaptcha V2 迁移到 Google Recaptcha Enterprise,以及通过 Cloud Shell 在 Recaptcha Enterprise 中创建新的不可见站点密钥!

话虽如此,V2/V3 和企业版的工作方式存在重大差异,因此请记住(至少对于 Web),您需要更改一些小的前端和后端代码。

以下是迁移指南,其中提到了迁移现有不可见站点密钥的功能: https://cloud.google.com/recaptcha-enterprise/docs/migrate-recaptcha#:~:text=reCAPTCHA%20v2%20Invisible

以下是用于创建不可见站点密钥的 gcloud sdk 参考: https://cloud.google.com/sdk/gcloud/reference/recaptcha/keys/create#:~:text=low%20scoring%20events-,invisible,-Does%20not%20display

【讨论】:

    【解决方案2】:

    reCAPTCHA Enterprise 和 reCAPTCHA v3 不同。

    您在网页上说您正在调用 reCAPTCHA 验证 programmatically 并带有属性 data-size='invisible'。 Invisible Recaptcha 只能在 reCAPTCHA v2 & v3 中使用,不能在 reCAPTCHA Enterprise 中使用。 reCAPTCHA Enterprise 示例代码参考documentation

    要在 v3 中使用 Invisible reCAPTCHA,请参阅 documentation

    要从 reCAPTCHA(非企业版)迁移,请参阅documentation

    reCAPTCHA Enterprise 具有比 v2 和 v3 更多的功能。参考对比table

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 2022-01-19
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2017-08-09
      • 1970-01-01
      • 2022-10-08
      相关资源
      最近更新 更多