vue-recaptcha-v3 icon indicating copy to clipboard operation
vue-recaptcha-v3 copied to clipboard

ReCaptcha not working in native app (built with cordova)

Open k-sai-kiranmayee opened this issue 4 years ago • 1 comments

Hello,

I'm using version 1.9 according to this https://github.com/AurityLab/vue-recaptcha-v3/tree/vue-v2.x. Getting an error saying Error for site owner. Invalid domain for site key, however, it's working fine in the browser (both mobile and desktop).

Domain validation is disabled for our application

Could anyone suggest or help...

k-sai-kiranmayee avatar Jan 07 '21 07:01 k-sai-kiranmayee

The host name inside the webview that cordova builds is localhost:80. If you disable domain validation it will still not work because when the hostname is localhost is expected to be running in development mode. It's been quite some time, did you managed to make it work? i'm running into this very same problem.

jes-ale avatar Jan 21 '23 04:01 jes-ale