Skip to main content
I am needing to add a reCaptcha test in a Lightning community, but with the locker service the script has to be loaded from a static resource rather than directly from the Google website... but is that going to break it?  Guessing the only way to know is to try but would be good to know if others have tried already...
3 件の回答
  1. 2016年12月19日 14:38
    Hi Tony,

    Serve reCaptcha's api.js file locally (as a javascript static resource) does prevent correct behavior.

    api.js has a magic URL in it that changes periodically, so it does need to be either updated very frequently or served from google's servers.

    Source: http://stackoverflow.com/questions/27613461/is-serving-google-no-captcha-recaptchas-api-js-locally-preventing-correct-behav

    Please mark this as solved if the information helps.

    Regards,

    Nagendra.
0/9000