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

Can you provide a better example?

Open DrakoPOD opened this issue 3 years ago • 6 comments

I'm trying to use this with quasar, but I can get the component render, is only rendering a plain button, but don't nothing. The demo use ts, but I'm using js.

DrakoPOD avatar May 27 '21 04:05 DrakoPOD

Hi! Could you describe your issue more detailed, please? Is there an error message? What do you mean by "component render"?

WipeAir avatar May 29 '21 20:05 WipeAir

@WipeAir I don't know if my code is working, because I don't see anything different, neither an error message. Is not that suppose that I need to see a badged or something similar? (Here is the component example)

I'm new with reCAPTCHA, sorry if I don't explain well myself.

DrakoPOD avatar May 30 '21 04:05 DrakoPOD

As this library is for reCATCHA v3, there is actually no visual component. You can read here how it works. At all, you just have to setup the plugin and call executeRecaptcha('login') to receive the token.

WipeAir avatar May 30 '21 12:05 WipeAir

@WipeAir I was expecting the badged that says "Protected by reCAPTCHA" that most of the sites have. If I receive that token, that's mean it worked?

The documentation of reCHAPTCHA is a little bit overwhelm for me.

DrakoPOD avatar May 30 '21 16:05 DrakoPOD

Ah sorry, that's true, you get the "Protected by..." badge on the right bottom of your site. If the function returns a token, then it works. (But also make sure to verify the token on the server-side)

WipeAir avatar May 30 '21 18:05 WipeAir

@WipeAir I saw the badge, when my main component had an error, the page didn't rendered, apparently, the badge can't render on top of the page.

DrakoPOD avatar May 31 '21 22:05 DrakoPOD