Google's reCAPTCHA is domain specific so when used in an Github's electron app, it gives the following error ERROR for site owner: Invalid domain for site key
.
Possibly because in an electron app the files are loaded with file:///
protocol and hence no referer header is sent when the captcha is loaded. I am using electron ./
to run the application.
Is there any solution for loading reCAPTCHA in an electron app?