Mahesh KP
Mahesh KP

Reputation: 6446

Google recaptcha public and private key

We are using google recaptcha in one of our projects. To get the private and public key for captcha we just used the url as http://localhost:4345/. Can the same private and public key be used in live site also.

Upvotes: 3

Views: 4778

Answers (2)

Muhammad Akhtar
Muhammad Akhtar

Reputation: 52241

enter image description here

When you generate a key for the recaptcha, if you check the checkbox to generate it globally, it will work. See in the image

Upvotes: 0

Teoman Soygul
Teoman Soygul

Reputation: 25742

Yes that's perfectly ok to use the same key pair for both local testing and server deployment (as long as you keep your private key a secret). On the other hand, if you did not select the "global key" option, the keys are unique to your domain and sub-domains (event though all keys will again work on localhost without any problem).

Upvotes: 3

Related Questions