Questions tagged [recaptcha]
For questions about the reCAPTCHA service: Designed to protect against spam and abuse by blocking bots while allowing valid users access.
recaptcha
4,440
questions
30
votes
2
answers
53k
views
Way to skip reCAPTCHA images challenge
I am implementing reCAPTCHA on one of my websites and I have successfully implemented it. It is working fine. Sometime the reCAPTCHA gets completed only by clicking the "I'm not a Robot" but sometimes ...
30
votes
6
answers
66k
views
Google reCaptcha reset doesn't work
I want to reset Google reCaptcha widget when I submit my form via AJAX and have some input errors or form is sent. I'm using multiple widgets on the same page so I render these widgets explicitly.
My ...
30
votes
3
answers
46k
views
reCAPTCHA with Content Security Policy
I'm trying to make reCAPTCHA work along with a strict Content Security Policy. This is the basic version I have, which works correctly:
HTML
<script src='//www.google.com/recaptcha/api.js' async ...
29
votes
1
answer
59k
views
Google reCAPTCHA data-callback not working
I have built a email newsletter signup form which posts into mailchimp from my website. I have Google reCAPTCHA added to the form and have a data-callback to enable the submit button as it is ...
28
votes
6
answers
46k
views
Require User to click google's new recaptcha before form submission
I am using google's new recaptcha inside my form (HTML5):
https://www.google.com/recaptcha
Is there a way to check and mark recaptcha as required before form submission?
I want to validate this on ...
26
votes
9
answers
58k
views
Error: No reCAPTCHA clients exist (reCAPTCHA v3)
I've integrated reCAPTCHA v3 in one of my forms. In onload, there's a token produced and google captcha logo in the bottom right corner. But when I submit the form, in console there is an error shown, ...
26
votes
3
answers
35k
views
How can I load a reCaptcha form using jQuery/AJAX while leaving the reCaptcha scripts in place?
I load my contact form into my page with JQuery/AJAX.
The contact form contains the reCaptcha scripts.
Unfortunately, JQuery removes the script tags before inserting them into my page. These script ...
25
votes
8
answers
31k
views
Vue.js google reCaptcha callback
I am trying to get recaptcha callback working with vue.js in a component. The captcha itself does work, but not the callback that I define in the data-callback attribute.
I've tried everything I ...
25
votes
8
answers
54k
views
Google reCAPTCHA - keep getting `incorrect-captcha-sol`
I am trying to add a reCAPTCHA to my site, but keep getting incorrect-captcha-sol error when I submit the answer.
Can anyone tell me if I am correct in doing the following?
I have a generic index.php, ...
25
votes
4
answers
90k
views
Google reCAPTCHA V3.0 not working. "ERROR for site owner: Invalid key type"
I can't get the Google reCAPTCHA to work on my Squarespace form.
Site Key and Secret Key are both entered correctly. Both domains have been entered as well.
Both Client Side integration codes have ...
25
votes
5
answers
35k
views
New Google reCaptcha: How to change text "I'm not a robot"
I've installed the latest Google reCaptcha tool on our yoga website. Now the users are confused about the text "I'm not a robot" that appears next to the checkbox.
Most of our users do not know what ...
25
votes
13
answers
46k
views
Google ReCaptcha not posting 'g-recaptcha-response'
This question has been asked before: New Google ReCaptcha not posting/receiving 'g-recaptcha-response' - but there was no proper answer.
I have the exact same set up as him, but the code ...
25
votes
3
answers
25k
views
Open Source Invisible reCAPTCHA alternatives [closed]
Is there any close or best open source solutions as Google's Invisible reCAPTCHA V2? And also as Google's regular reCAPTCHA V2(checkbox one)?
24
votes
5
answers
73k
views
How to implement reCaptcha V3 in ASP.NET
Does anyone have a full implementation demo of reCaptcha V3 in ASP.NET?
I found this article: Google Recaptcha v3 example demo
At the moment I am using reCaptcha V2 with the following code:
public ...
24
votes
3
answers
23k
views
How to use Joomla recaptcha plugin with my custom module?
I have created a custom module for my contactus form. Now I want to use Joomla recaptcha plugin with this module.
Any idea how to get this done?
24
votes
4
answers
8k
views
reCAPTCHA accepting one word out of two
I am a bit confused about how reCAPTCHA works. I have implemented it
using ROR.
Sometimes even if i specify only one word out of two, it returns true
while sometimes it fails.
I am really confused ...
23
votes
8
answers
9k
views
NoCaptcha returning error invalid-json
I integrated Googles funky ReCaptcha NoCaptcha into a simple html5 form.
On localhost it is working, but testing online it always returns the error 'invalid-json'. Here is part of my code:
$secret = '...
23
votes
3
answers
26k
views
How Google's reCAPTCHA v3 works
Google has rolled out reCAPTCHA v3. It does away with all the user friction. I wish to use it to secure my site. However, I am unsure about how this is going to protect my site. What if a hacker spams ...
23
votes
4
answers
28k
views
reCaptcha show "input error: invalid referer"
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 ...
23
votes
1
answer
13k
views
Prevent reCaptcha multiple image selections
I'm using Google reCaptcha for validation purposes on a client website. Today I've got a complaint/change-request from them, regarding the multiple image selection (Select 2 beers, wines, cakes etc.) ...
22
votes
16
answers
82k
views
Overriding google recaptcha css to make it responsive
I installed Google Recaptcha in a site (not a Wordpress site or Joomla) So do not offer any WP plugins or Joomla Extension :)
My problem is, the site is responsive and recaptcha is not. When I use ...
22
votes
4
answers
38k
views
Difference between CAPTCHA and reCAPTCHA
What are the differences between CAPTCHA and reCAPTCHA?
What is the best situation to opt for reCAPTCHA?
22
votes
1
answer
6k
views
Detect when reCaptcha does not load
What is the best way to detect if a reCaptcha v2 does not load? I would like to alert users when they need to use the captcha to continue, but it was unable to load.
22
votes
2
answers
9k
views
Google Recaptcha javascript loading multiple times
I'm including the Google Recaptcha on my website in the following way;
In the header section;
<script async src='https://www.google.com/recaptcha/api.js?hl=fr'></script>
And in the body ...
21
votes
4
answers
20k
views
Working example of new recaptcha with Rails?
Does anyone have a working example of Google's new recaptcha in a Rails app? Every guide I try to follow is either unclear or incomplete, and seems to use a different method.
Hand-rolled code would ...
21
votes
4
answers
27k
views
How to pass ReCaptcha v3?
ReCaptcha v3 will not present a captcha anymore, but rely on browser fingerprinting and other information google can get about you.
Here is a test: https://recaptcha-demo.appspot.com/recaptcha-v3-...
21
votes
2
answers
14k
views
How do get only numeric recaptcha?
I need to show only the numeric reCaptha instead of character strings. Is it possible? If yes, please give the procedure.
Like Google's Street view
21
votes
6
answers
60k
views
Google REcaptcha not showing
I have the following in my <body>
<div class="g-recaptcha" data-sitekey="some-key (original is right)">
and this on my <head>
<script src="//www.google.com/recaptcha/api.js">...
21
votes
2
answers
5k
views
Recaptcha v2 throws an error when it is reset and its container element is removed from DOM
When I explicitly render Recaptcha v2 and then reset it before removing it from the DOM, after ~40 seconds I get an error in the browser console.
I have a JSFiddle which can be used to reproduce the ...
20
votes
3
answers
18k
views
Recaptcha BROWSER_ERROR
Some days ago we have upgraded to Recaptcha Enterprise.
It seems that the only support channel is here on stackoverflow
What mean BROWSER_ERROR in invalidReason?
in the official doc
it's not specified
...
20
votes
3
answers
27k
views
Google reCAPTCHA in China
My site is using Google reCAPTCHA control but I am hearing its being block in
China, Is there anyway around this I see there is some people reporting that changing the API to https://www.recaptcha....
20
votes
2
answers
30k
views
Prevent google recaptcha setting a cookie (GDPR)
We have integrated with Google recaptcha, and it sets some cookies with user data (example cookie is NID). On 25th of May, the GDPR will be live, and according to that law, website cannot set any ...
20
votes
2
answers
21k
views
How to bypass Incapsula with Python
I use Scrapy and I try to scrape this site that uses Incapsula
<meta name="robots" content="noindex,nofollow">
<script src="/_Incapsula_Resource?SWJIYLWA=719d34d31c8e3a6e6fffd425f7e032f3"&...
20
votes
3
answers
8k
views
How to Integrate reCAPTCHA 2.0 in Android
Is there any way I can integrate reCAPTCHA 2.0 in Android?
I found this library and got it working. However, server side verification of the CAPTCHA is not supported (it needs me to provide the ...
19
votes
4
answers
52k
views
Explicitly Rendering ReCaptcha - Onload Function Not Firing
From the documentation I understood that in order to change the language of the recaptcha I have to render it explicitly.
The problem is, however, that it's not really showing up, and the onload ...
18
votes
2
answers
53k
views
How to use recaptcha v2 on localhost?
Using the Google recaptcha version 2 for my wordpress, I added the "localhost" domain (I tried "127.0.0.1" as well) on my google account side and I got keys but on my client-side I got this error :
...
18
votes
3
answers
23k
views
reCaptcha: error code "invalid-keys"
I currently implementing the reCaptcha for an form with HTML and PHP. The client-side solution works without any problems. But the server side fails with the validation.
So here is my server side ...
18
votes
1
answer
8k
views
Remove reCAPTCHA site on Admin Console
Pretty simple. I feel like there's a setting or button somewhere that I'm not seeing. I have a list of sites I've registered with reCAPTCHA. I want to delete one on the admin console. How do I do ...
18
votes
6
answers
43k
views
I got "timeout-or-duplicate" error using ReCaptcha v3
I got a contact form on my website on Laravel and I'd like to place a ReCaptcha v3 but for now the result I got from the verification is the error "timeout-or-duplicate".
Can you help me from A to Z ?...
18
votes
5
answers
31k
views
Cypress - testing a contact form with google recaptcha
How can I test a contact form with google recaptcha ?
I want to test if "We will respond you soon." message appear.
18
votes
2
answers
52k
views
Find the reCAPTCHA element and click on it -- Python + Selenium
I need some help.
There is URL: https://www.inipec.gov.it/cerca-pec/-/pecs/companies.
I need to click checkbox Captcha:
My code is look like:
import os, urllib.request, requests, datetime, time, ...
18
votes
1
answer
7k
views
What is the URL for Google reCAPTCHA Admin Console?
The link to the admin console isn't working - it shows a 404 page. I need to access this to generate a site-key.
Link: https://google.com/recaptcha/admin
OR: https://google.com/recaptcha/admin/create
...
17
votes
3
answers
53k
views
Uncaught Error: ReCAPTCHA placeholder element must be an element or id
I'm adding ReCAPTCHA to a (Bootstrap Jekyll) website that has multiple contact forms. There's a popup modal in the footer, an occasional "contact us now" section, and also a "request more information ...
17
votes
3
answers
30k
views
reCaptcha issues : No 'Access-Control-Allow-Origin' header is present on the requested resource always shows even I have add header in angularJS
i have some issues in google reCaptcha
The captcha is fine, it's show normally, but when I submit it, I have connection issues when I send a POST request to
https://www.google.com/recaptcha/api/...
17
votes
2
answers
5k
views
implement reCAPTCHA v3 in WordPress loginscreen
Google just released a new beta version of their recaptcha: reCaptcha v3.
I am trying to implement this in my WordPress login screens. However it does show the recaptcha logo in the bottom right ...
16
votes
7
answers
38k
views
Struggling with recaptcha v2 and form submission
https://developers.google.com/recaptcha/docs/verify
if(isset($_POST['submit'])){
$recaptchaResponse = $_POST['g-recaptcha-response'];
$secretKey = 'MYKEY';
$request = file_get_contents("https://www....
16
votes
7
answers
37k
views
Load reCAPTCHA dynamically
There are several ways to load reCAPTCHA using javascript such as below:
<html>
<head>
<title>Loading captcha with JavaScript</title>
<script src="https://code....
16
votes
2
answers
13k
views
How to use Python plugin reCaptcha client for validation?
I want to make a captcha validation.
I get the key from the recaptcha website and already succeed to put the public key to load the webpage with the challenge.
<script type="text/javascript"
...
16
votes
6
answers
11k
views
detect when challenge window is closed for Google recaptcha
I am using Google invisible recaptcha. Is there a way to detect when the challenge window is closed? By challenge window I mean window where you have to pick some images for verification.
I currently ...
16
votes
2
answers
2k
views
How to protect jquery button with Invisible reCaptcha?
I want to protect my jquery button from bots without annoying the users, so i thought of adding google's invisible recaptcha to it. However implementation isn't as easy as i though and i can't seem to ...