0
bilalhaidar created
Hi, I am getting this error when hosting the app on a remote server. Where can I configure the reCAPTCHA?
Thanks Bilal
ERROR for site owner: Invalid domain for site key reCAPTCHA
2 Answer(s)
-
0
In the web.config of your .Web project you will find the two entries below. You need to update these with the keys provided by Google for your domain.
<add key="recaptchaPublicKey" value="Your Public Key Value goes here" /> <add key="recaptchaPrivateKey" value="Your Private Key value goes here" /> <add key="recaptchaApiVersion" value="2" />
Login to your Google account and then goto <a class="postlink" href="https://www.google.com/recaptcha/">https://www.google.com/recaptcha/</a> to generate your domain keys.
-
0
Thanks :)