win7pro
V2EX  ›  Google

reCaptcha v3 前后端的域名不一致,是否会影响校验结果?

  •  
  •   win7pro · May 18, 2024 · 1407 views
    This topic created in 796 days ago, the information mentioned may be changed or developed.

    请教:

    google 的 recaptcha v3 ,前端 h5 用 //www.google.com/recaptcha/api.js 加载 js ,后端用 https://www.google.com/recaptcha/api/siteverify 校验,得分 score 达 0.9 ,但后端改成 https://www.recaptcha.net/recaptcha/api/siteverify 校验,得分就变 0.1 。是否前后端域名不一样会影响校验结果吗?还是打开 vscode 的姿势不对?

    No Comments Yet
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   1136 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 27ms · UTC 18:16 · PVG 02:16 · LAX 11:16 · JFK 14:16
    ♥ Do have faith in what you're doing.