We have a form which will be filled out both by internal users and public.
The link for internal users and public is different. Internal users are authenticated and link used does not contain domain name. Whereas for public its anonymous and link contains domain name.
In the internal link since there is no domain name, I get the error - ERROR for site owner:
Invalid domain for site key.
I need recaptcha to appear only when form is accessed using the public link.
Is it possible to hide recaptcha conditionally based on URL?