Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can you provide a better example? #433

Open
DrakoPOD opened this issue May 27, 2021 · 6 comments
Open

Can you provide a better example? #433

DrakoPOD opened this issue May 27, 2021 · 6 comments

Comments

@DrakoPOD
Copy link

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.

@WipeAir
Copy link
Member

WipeAir commented May 29, 2021

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

@DrakoPOD
Copy link
Author

@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.

@WipeAir
Copy link
Member

WipeAir commented May 30, 2021

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.

@DrakoPOD
Copy link
Author

@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.

@WipeAir
Copy link
Member

WipeAir commented May 30, 2021

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)

@DrakoPOD
Copy link
Author

@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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants