Google Captcha is not visible on the live domain, whereas it functions properly under /version-test/

Hey everyone,

I’m facing an issue using Google’s Captcha on my website. Under /version-test/, it works perfectly, but when I deploy it to the live domain, the Captcha is not visible at all.

I assume that I set the Google API keys correctly since I can see the Captcha under /version-test/ and also use it there.

Thanks!

You probably did allow or whitelist only the /version-test/ url in the Google console. Maybe send us a screenshot from the Google console and also check the console in the developer tools in your browser to see if the error is written out.

You are right, my first guess was that I might have forgotten to change the registered domain. Unfortunately, no.
The domain I use as a registry is “mydomain.com

That ends up unreasonably to work properly on mydomain.com/version-test/ but not on mydomain.com

From the bubble docs:

Note: When you publish your app into production, you’ll need to generate a separate API key called ’live’ with your new custom domain.

Have you done this?

Indeed, when I published my app on a custom domain, I created a new API key.

My question is: how is it possible for the Captcha to run on mydomain.com/version-test/ and not on mydomain.com when the domain I registered at google is mydomain.com?

To further help you we would need some more information: e.g. screenshots from dev tools console and google console, settings page where you double check the keys etc etc…