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,434
questions
12
votes
4
answers
40k
views
Invalid input response and secret when verifying google reCaptcha
I am really struggling to get a successful response when doing a post request to the google recaptcha api. I am receiving the following response:
{
"success": false,
"error-codes": [
"invalid-...
12
votes
4
answers
8k
views
How to verify reCAPTCHA using rails?
I've seen a few guides for how to use the new recaptcha with PHP, but none with Rails. This is the code I have so far:
<script src='https://www.google.com/recaptcha/api.js'></script>
<...
12
votes
1
answer
6k
views
How to solve Browser Error when verifying with ReCaptcha?
From some time I am receiving an error code browser-error during ReCaptcha's verification on a Web App (Node back-end, HTML / JS front-end).
This thread here explains that it's an error which comes ...
12
votes
1
answer
27k
views
Google reCaptcha to work in React.js?
I'm getting so close... loading the element in is fine EXCEPT for the fact that something in the way the reCaptcha script works makes it so that rendering isn't done when you create an instance of the ...
12
votes
2
answers
3k
views
Change the font of the new "No CAPTCHA reCAPTCHA"
The new reCAPTCHA is awesome. Almost everything is great, except one thing. Its font. It's quite stupid to use a font that doesn't support other languages. My website is in Hebrew, and the font that ...
12
votes
2
answers
11k
views
ReCAPTCHA is generating Content Security Policy warnings
I implemented reCAPTCHA v3 on my website, all is working fine, I'm getting a score back and everything on the server-side.
However, I'm getting tons of Content Security Policy warnings in the console ...
12
votes
0
answers
1k
views
Recaptcha 2 how to check if user cancels puzzle
How to detect if a user is cancelling the Recaptcha puzzle:
It is possible to click outside the dialog box and close the dialog. However, there doesn't seem to be any callback to that action. It is ...
11
votes
7
answers
17k
views
reCAPTCHA box not being aligned correctly
I can't get to align correctly the reCAPTCHA form on my registration page. Even if the div it is contained in has text-align set to center, it is displayed on the left of the page:
While if I change ...
11
votes
5
answers
43k
views
Recaptcha missing-input-response
I have a problem with google reCaptcha.
Here is my php code:
$secret = 'SECRET_KEY';
$response = $_POST['g-recaptcha-respone'];
$remoteip = $_SERVER['REMOTE_ADDR'];
...
11
votes
3
answers
4k
views
reCAPTCHA Unexpected token in JSON at position 0
We use reCAPTCHA ver 2 as checkbox "I am not bot". Since from 2020-11-05 19:23:00Z during our page loading we get exception:
recaptcha__ru.js:211 Uncaught (in promise) SyntaxError: ...
11
votes
8
answers
37k
views
using reCAPTCHA with ajax....javascript loading problem
I trying to implement reCAPTCHA in one of my forms,...but i am using ajax as the submission. (More specifically the prototype ajax.updater)
Once I submit and error check my form I try to load the ...
11
votes
4
answers
16k
views
Recaptcha - Form Customization
Does anyone know if recaptcha can be fully customize without the default frame. I need the recaptcha image to only be a certain width as well as the input field. Has anyone done this before with ...
11
votes
3
answers
8k
views
Problems with new Google reCAPTCHA in IE when inside modal or dialog
reCAPTCHA works perfectly well in Chrome.
However, (only when reCAPTCHA iframe is inside a dialog box or a modal) in IE the placeholder won't go away.
Whatever the user writes is considered part of ...
11
votes
3
answers
17k
views
Invisible Recaptcha Badge Positioning Issue
I recently started using Google's new method of Recaptcha - their new Invisible Recaptcha. I realized that the implementation of this version was a little different, as you attach the recaptcha ...
11
votes
2
answers
11k
views
ASP.Net MVC Recaptcha Jquery Ajax issue
I am using ASP.Net MVC to and trying to implement a Google reCaptcha object into a page.
I am trying to avoid the use of models in my forms, and want to just directly call a method using jquery ajax.
...
11
votes
2
answers
17k
views
reCaptcha error 400
On a Webpage, when I click on "I'm not robot" checkbox, the Google Recaptcha load infintely and on my JS console I have some error 400 :
My Key is OK, I use same on an other website and recaptcha ...
11
votes
2
answers
1k
views
Invisible Google reCaptcha returns 410 when verifying user's input
We're using invisible reCaptcha and, once in a while, Google's Javascript code makes a request to Google's servers receiving a response status 410, instead of 200.
We don't have control over it as ...
11
votes
3
answers
14k
views
reCAPTCHA 2.0 not appearing in Safari (works in Edge, Chrome, and Firefox)
I just integrated the Google reCAPTCHA 2.0 into my site. It works as expected in Chrome, Firefox, and Edge, but it doesn't work / appear in Safari on my MacBook Pro.
MacBook Pro: macOS Sierra ...
10
votes
2
answers
8k
views
How does ReCAPTCHA work?
My reading of this article suggests that a benefit of ReCAPTCHA is that it can have humans verify words not recognised in the OCR/digitization of books. It does this by using these words in "Are you ...
10
votes
2
answers
9k
views
Angular 2 Recaptcha 2 Callback
Currently I'm trying to use Google Recaptcha v2 in Angular 2 Typescript. I use it in Sign Up form. Suppose I have a form containing:
<form id="signup-form">
<div class="g-recaptcha" data-...
10
votes
7
answers
13k
views
How to make reCAPTCHA work with a ValidationGroup in ASP.Net (captcha)
I am using the ASP.Net plugin and control provided by reCAPTCHA. I can successfully get the control to work if the submit button on the web form is not in a validationgroup. There is no ...
10
votes
5
answers
16k
views
Google recaptcha error in ie 11
I am getting the following error in IE 11:
SCRIPT5007: unable to get property "toString" of undefined or null
reference recaptcha__iw.js (451, 41)
Could it be possible that there is an error in ...
10
votes
2
answers
20k
views
How to validate reCAPTCHA V2 Java (Servlet)
This is an Q&A style post, which I'll post both the question and an answer. The main reason for this is that I spent quite a lot of time searching the easiest way to validate recaptcha V2. So I'm ...
10
votes
5
answers
25k
views
Google reCaptcha - Selected Image keep getting replaced with new Image
When we select a captcha image, it fading away and a fresh new image is getting replaced, as shown in below screenshot. Same for all images in that captcha. For over a year we had no problem, but only ...
10
votes
2
answers
9k
views
Recaptcha documentation unclear - and cross-site error testing it
Can anybody please clear up for me what the final page of the recaptcha documentation is saying, I find it exceptionally obtuse.
Here's the documentation I fail to understand:
Verifying the user's ...
10
votes
2
answers
13k
views
ReCaptcha always asking for extra verification?
For a project, I recently installed the new 2.0 version of ReCaptcha. I added the keys and secret to the Developer Panel, and installed the widget in my form.
It works perfectly, but with one little ...
10
votes
1
answer
13k
views
How to use google's new reCAPTCHA "I am not a robot" in asp .net
Hi I would like to use google's new reCAPTCHA in my website. Does anyone has working example in asp .net with codebehind implementation.
Thanks
10
votes
1
answer
7k
views
Submit a form using POST with g-recaptcha-response argument
I want to submit a form from following web page: http://www.hzzo-net.hr/statos_OIB.htm
First, I use 2captcha service to bypass recaptcha:
# parameters
api_key <- "c+++"
api_url <- "http://...
10
votes
3
answers
9k
views
Alternative to Recaptcha [closed]
Ours is a java web application on struts2 framework. Currently for contact us form and download reports form we are using Recaptcha. We have to refresh the captcha at least 4-5 times to get the ...
10
votes
2
answers
14k
views
Passing variables in invisible reCaptcha callback
I am creating a form for a website in our CMS application that uses the new invisible reCaptcha of Google.
However, I am stuck on how to use the callback of the reCaptcha?
Before the use of the ...
10
votes
2
answers
6k
views
reCAPTCHA: why can't I check the same result twice?
I mean if I check first clients input and it is OK the second check of the same input is always false...
Why is that?
I really need ability to check it twice (one for client side validation and ...
10
votes
2
answers
9k
views
Combining reCAPTCHA v2 and v3
I'm keen to use reCAPTCHA v3 for logins and stuff, but I'm unsure what to do with a 'low rating', it doesn't feel safe to deny access with no way for the user to move forward. What feels like a more ...
10
votes
1
answer
5k
views
Google recaptcha remoteip explanation
In the documentation of recaptcha it says that the remoteip argument is optional, but I don't understand its purpose, because even if I send a different IP than REMOTE_ADDR, the response from Google ...
10
votes
1
answer
32k
views
How to make Google reCAPTCHA a required field? [closed]
How can I make Google's No CAPTCHA reCAPTCHA a required field?
I mean, I want to check it with HTML or JavaScript.
10
votes
1
answer
11k
views
jQuery click event on Google reCAPTCHA
I would like to capture a click event on Google reCAPTCHA like below.
I am using the below code.
jQuery('#I0_1444640729099').on('load', function() {
jQuery(".recaptcha-checkbox-checkmark").click(...
10
votes
1
answer
1k
views
Am I allowed to translate the reCAPTCHA v3 text containing the links to Privacy Policy and Terms of Service?
According to the docs if I want to hide the reCAPTCHA v3 badge I have to display some text containing links to Privacy Policy and Terms of Service:
"This site is protected by reCAPTCHA and the ...
10
votes
2
answers
8k
views
Reload reCaptcha after ajaxComplete
My reCaptcha is not reloading when ajaxComplete event complete.
I have a console error: "No reCAPTCHA clients exist." So why my reCaptcha client disappeared after ajaxComplete?
Here is my sample ...
10
votes
1
answer
1k
views
Invisible reCAPTCHA callback on fail or exit
The Invisible reCAPTCHA lets you easily set a callback upon successful verification:
<button class="g-recaptcha" data-sitekey="your_site_key" data-callback='successfulVerification()'>Submit</...
10
votes
1
answer
2k
views
Google Safety net addOnFailureListener not trigger when user dismiss the verify dialog
Note I posted the issue/question to google sample github repo, https://github.com/googlesamples/android-play-safetynet/issues/12. However, I don't get any response yet.
library version used: com....
10
votes
4
answers
4k
views
Mailchimp Embedded Sign up form not displaying Captcha
I am using mailchimp embedded sign up form. It displays Email Account, First Name and Last Name, but captcha is not showing. I enabled captcha from Settings->List Name and Defaults.
What other steps ...
9
votes
7
answers
13k
views
Recaptcha translation
Does anyone know how to change text language from Recaptcha?
I've already tried:
<script type="text/javascript">
var RecaptchaOptions = {
lang : 'fr',
};
</script>
But it doesn't ...
9
votes
2
answers
9k
views
How to implement Google reCaptcha in an MVC3 application?
Can anyone explain how to have reCaptcha functionality like stackoverflow in my MVC3 application.
And how can you customize that?
9
votes
8
answers
10k
views
Google recaptcha is not accessibility compliant
The google recaptcha creates a textarea that has no accessibility attributes, like aria-label. This is causing the recaptcha to fail our accessibility scan via Siteimprove.
I've tried adding the ...
9
votes
1
answer
13k
views
Does google reCAPTCHA v3 score drop after many requests?
I would expect recaptcha v3's score to drop if a user (or bot) repeated does the same thing, however that doesn't seem to be the case.
Here's a brief extract from my logs while I try different ...
9
votes
3
answers
44k
views
Google reCAPTCHA with jQuery validation
I am trying to validate google reCAPTCHA with a form if the reCAPTCHA is false it should show a alert and button should goes to false I tried with some code but its not working anyone know?
Here'...
9
votes
2
answers
3k
views
How do I correctly install ambethia/recaptcha with rails 3
I have done the following steps:
Added to gemfile:
gem "recaptcha"
Added to config/initializers/recaptcha.rb
Recaptcha.configure do |config|
config.public_key = 'MyKeyHere'
config.private_key ...
9
votes
2
answers
8k
views
I keep receiving "invalid-site-private-key" on my reCAPTCHA validation request
maybe you guys can help me with this. I am trying to implement
reCAPTCHA in my node.js application and no matter what I do, I keep
getting "invalid-site-private-key" as a response.
Here are the ...
9
votes
4
answers
32k
views
How to implement reCaptcha into a flutter app
I am trying to implement the reCaptcha function to my flutter app, but in the captcha registration I need to provide a domain which I don't have one for a mobile app. I have browsed several guides ...
9
votes
2
answers
11k
views
Including captcha in a django form
I'm trying to add Captcha to my Django form. I tried three different libraries but none of them worked for me and i don't know what i'm doing wrong.
Here is my last try:
I used this library.
My forms....
9
votes
3
answers
11k
views
google recaptcha with ajax form
I have a google recaptcha but my form is ajaxed so I need to get the 'input value' of the token generated by the captcha, I inspect the page to find the token and I did fin the token
<input type="...