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)
-
0
Can this article solve your problem?
https://support.pinnaclecart.com/hc/en-us/articles/360000736468-Fix-captcha-error-Invalid-domain-for-site-key -
0
It was my mistake, everything I did fine but backend was not published correctly :)