dozoisch / dozoisch/react-google-recaptcha

ReCaptcha in iFrame not working

Open
#65 8 comments 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
1.1k
Forks
148
PR merge metrics
No merged PRs in 30d

Description

Hi !

I'm trying to use your component in an `iframe` but it fails with a "cannot join the ReCaptcha service" message (without any call to the `verify` callback). I guess it's an issue due to some script included / operations done at the `window` level, without the ability to specify a custom window context (as the component works just fine if I replace the `iframe` by a `div`).
I think it could be interesting to add the behavior to your component to make it more versatile.
If you do not think so, do you have an idea, a workaround or something to make your component work in an `iframe` to help me solve my corner-case ?

Thanks.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.