angular-recaptcha
angular-recaptcha copied to clipboard
Invisible Response is 'undefined'
I've set up, copied/pasted the $scope.setWidgetId, $scope.setResponse, $scope.cbExpiration functions and I cannot get a response with the Invisible reCaptcha.
My console output: sending the captcha response to the server undefined Response available undefined
PS. The 'Secure Token' was a 'v1-only' feature (https://developers.google.com/recaptcha/docs/versions#v1), and should get removed from the documentation ASAP. stoken="'--- YOUR GENERATED SECURE TOKEN ---'" vcRecaptchaServiceProvider.setStoken('--- YOUR GENERATED SECURE TOKEN ---') stoken: '--- YOUR GENERATED SECURE TOKEN ---',
Same issue here! It's working perfectly when rendered in compact or normal size. When testing the response, it returns an empty value.
Probably the problem is that you are testing with a key for v2, and not for invisible type. You just have to create a new site on the reCAPTCHA administration page with the invisible type configuration.
Probably the problem is that you are testing with a key for v2, and not for invisible type. You just have to create a new site on the reCAPTCHA administration page with the invisible type configuration.
Back in November I used a v3 key and it still sent an empty value as the response.
does angular-recaptcha work for reCAPTCHA v3?