Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

reCaptcha show "input error: invalid referer"

Tags:

I have registered an account on recaptcha.net with mydomain.com.

While I'm developing on my localhost it works fine, but whenever I try to open the page from another machine in my local network it shows "input error: invalid referer" error message!

I'm not using recaptcha plugins.

like image 329
ehsun7b Avatar asked Aug 17 '12 03:08

ehsun7b


1 Answers

reCaptcha keys are tied to a certain domain + localhost (when you got your private/public keys from them). You can use it on another domain by requesting new private/public keys or by using a global key.

From their website:

  • By default, your reCAPTCHA key is restricted to the specified domain, and any subdomains for additional security. A key for foo.com works on test.foo.com.

  • If you wish to use your key across a large number of domains (e.g., if you are a hosting provider, OEM, etc.), select the global key option. You may want to use a descriptive domain name such as "global-key.mycompany.com"

  • If you own multiple domain names (foocars.com and footrucks.com), you can sign up for multiple keys, or use a global key.

like image 176
Nasreddine Avatar answered Oct 23 '22 09:10

Nasreddine