Base solution for your next web application
Open Closed

Recaptcha ERROR for site owner: Invalid domain for site key #6735


User avatar
0
digitalcontrol created

I set recptcha keys like this in appsettings.production.json:
"Recaptcha":
{
"SiteKey":"6Lfp2ZoUAAAAAFWALpcMDmpXHp0slBhO8oEpbEIC",
"SecretKey":"6Lfp2ZoUAAAAALXhCVGZswdrW-VV72zLoliopUlv"
}

production test site is hosted on azurewebsite so it is basclly subdomain, example:
https://myaspnetcore.azurewebsites.net
But I am still getting an error:
ERROR for site owner: Invalid domain for site key

Can you help please it is urgent.


2 Answer(s)