Recently, I encountered an issue while using Google reCAPTCHA 2nd version. After sending form data to the server via AJAX, I received this error message:
"Uncaught SecurityError: Blocked a frame with origin "https://www.google.com" from accessing a frame with origin "http://localhost:14656". The frame requesting access has a protocol of "https", the frame being accessed has a protocol of "http". Protocols must match."
I have included the following script in my layout file: src='//www.google.com/recaptcha/api.js' async defer
This project is built on ASP MVC 4.0.
Can anyone provide assistance?