The issue I am having is (im using version 2.0 api),
* I'm using angular to http POST
* I have to use the recaptcha data-callback to get the g-recaptcha-response in the $scope; because the form isnt being submitted in the traditional sense. I'm using the $http service in angular
1) User previews the form and the first thing they do is hit the reCAPTCHA and verify
2) g-recaptcha-response is stored in a hidden field bound to ng-model
3) User starts to fill out the form
4) The reCAPTCHA session expires while the user is filling out the form, and they click submit without revaliding the captcha. My validation logic thinks they did fill out the captcha because the previous g-recaptcha-response is still in my $scope. So I am not able to properly express to the user on the screen that the captcha needs to be done again.
There is no call back for session expiring so I can't clear the g-recaptcha-response in the $scope
I cant think of any non-clunky ways of handling this. other than sending a old g-recaptcha-response to the google api call and getting back a non-passing json response