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

Make react-google-recaptcha work on localhost. #273

Open
TigWork opened this issue Jul 10, 2023 · 0 comments
Open

Make react-google-recaptcha work on localhost. #273

TigWork opened this issue Jul 10, 2023 · 0 comments

Comments

@TigWork
Copy link

TigWork commented Jul 10, 2023

react-google-recaptcha version: 3.1.0
react-async-script version: 1.2.0

I propose adding a prop to enable recaptcha in localhost.
For example:

<ReCAPTCHA
    sitekey="Your client site key"
    onChange={onChange}
    allowAnyHost
  />

It would be beneficial to develop the Recaptcha in localhost. In my case, I needed to contact folks to access Admin Console to enable localhost which was time-consuming.

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

1 participant