Support,
We are receiving the following error message:
ERROR for site owner: Invalid domain for site key
Below is the contents of our appsettings.Production.json file:
{ "ConnectionStrings": { "Default": "Data Source=SODSQL2;Initial Catalog=WASP3Db;Integrated Security=True;Connect Timeout=30;Encrypt=False;TrustServerCertificate=False;ApplicationIntent=ReadWrite;MultiSubnetFailover=False" }, "App": { "WebSiteRootAddress": "https://wasptest.shelby-sheriff.org/" }, "RecaptchaSettings": { "SiteKey": "6LekUKsZAAAAAMiBskJdqWQGb4LowP1D1SBV1BmJ", "SecretKey": "6LekUKsZAAAAAJ8OYCH-KU0rWKwoHyUdvQ5hVZXo" } }
We've generated SiteKey and SecretKey but we are still receiving the error message.
Please advise what else we need to do?
7 Answer(s)
-
0
Hi @cobaltrobot,
You need to register your app for Google Recaptcha and replace the keys with the ones Google gives you. Please follow https://www.google.com/recaptcha/intro/v3.html
-
0
Hello @ismcagdas,
We did register our app for Google reCaptcha at the address you provided. The keys we listed are the ones that Google reCaptcha provided.
Please advise how we fix this?
-
0
Hi,
Invalid domain for site key
Probably some information on your registration is wrong if you are still getting this error message. Could you share the domain you entered for the regstration and url of your website ?
Thanks,
-
0
Hello,
We have two domains listed in the Google reCAPTCHA admin settings:
- shelby-sheriff.org
- wasptest.shelby-sheriff.org
The URL for our site is
https://wasptest.shelby-sheriff.org/Account/Register
Thank You,
-
0
Hi,
Did you create Google Recaptca v2 or v3 ? AspNet Zero switched using v3 starting from v8.6 and above. If that's not the problem, we can try to help you via remote connection.
Thanks,
-
0
Hello,
We created both. We tried the Google reCAPTCHA v3 first. When that did not work, we tried Google reCAPTCHA v2 and that did not work, either.
How do we setup a remote connection? How soon can we do this remote connection? Is it possible to do it today?
Take Care,
-
0
Hi @cobaltrobot
Sorry for the delay. Could you send an email to [email protected] so we can arrange the meeting.
Thanks,