Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Using reCAPTCHA on localhost with port

simple question : is it possible to test google captcha on localhost with a port.

simple example : http://127.0.0.1:1986

— or DO we have to use the default port, thus setting up a *%&#@ proxy or messing up with all my local projects.. :(

thanks ♥︎

like image 222
nab. Avatar asked Jul 24 '18 10:07

nab.


People also ask

Can we use reCAPTCHA in localhost?

localhost domains are not supported by default. If you wish to continue supporting them for development you can add them to the list of supported domains for your site key. Go to the reCAPTCHA Enterprise console or to the reCAPTCHA console, as appropriate, to update your list of supported domains.

How do I add localhost to a domain for reCAPTCHA?

Please go to https://www.google.com/recaptcha/admin and under settings > domains add “localhost”.

Which reCAPTCHA should I use v2 or v3?

After listening to some of the user complaints, Google developed reCAPTCHA v3 to provide a better user experience. Unlike v2, reCAPTCHA v3 is invisible for website visitors. There are no challenges to solve. Instead, reCAPTCHA v3 continuously monitors each visitor's behavior to determine whether it's a human or a bot.


1 Answers

You can use the tests keys: https://developers.google.com/recaptcha/docs/faq#id-like-to-run-automated-tests-with-recaptcha-v2-what-should-i-do

Site key: 6LeIxAcTAAAAAJcZVRqyHh71UMIEGNQ_MXjiZKhI

Secret key: 6LeIxAcTAAAAAGG-vFI1TnRWxMZNFuojJ4WifJWe

like image 58
Bruno Soares Avatar answered Oct 10 '22 22:10

Bruno Soares