You need to sign in to do that
Don't have an account?
Tony White (BNE)
Can you add Google reCaptcha to a custom lightning component?
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...
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.
All Answers
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.
I am hoping there is a work around that can be used...
Fingers crossed we will see something like that...