react-native-google-recaptcha-v2
react-native-google-recaptcha-v2 copied to clipboard
Invalid domain for site key
Hello,
I'm trying to use the localhost domain on the sitekey when configuring recaptcha. However, when I try to activate it on my RN app, it returns:
"Error for site owner: Invalid domain for site key"
I use the http://localhost in BaseUrl variable, and the domain localhost is included in reCAPTCHA configuration on the reCAPTCHA Google site. What value should I use for these variables (or for the siteKey variable)? And does it make sense have a siteKey, since our application is not a PWA, but a mobile one?
same thing over here, could you fix it? how?
any once can helpout ? i am facing same issue
@lucianoacsilva @muhammadashfaq @zyos-elitgon have anyone of you found a fix for this problem? I have the same one and I'm struggling with it
I was having the same problem to test the library in development environment (localhost), I just added the protocol:
WRONG baseUrl="127.0.0.1"
RIGHT baseUrl="http://127.0.0.1"