vue-recaptcha-v3
vue-recaptcha-v3 copied to clipboard
Can you provide a better example?
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.
Hi! Could you describe your issue more detailed, please? Is there an error message? What do you mean by "component render"?
@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.
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 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.
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 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.