Recaptcha cloudworkers


#1

We have a reCAPTCHA on a page associated with a cloudworker. The page works fine in production; however, when in preview mode in the worker dev editor the error message “ERROR for site owner: Invalid domain for site key” is displayed.

Is this expected?

Is there a work-around?


#2

The reCAPTCHA might be considering as url cloudflareworkers.com and not your url via Window.URL


#3

Thanks. I will try and add cloudflareworkers.com as an accepted domain next week and post the findings.