Hello! We have an API that returns pages for some endpoints, and most submissions and downloads require user to pass Cloudflare turnstile.
Turnstile almost always passes in the regular browser, however, some there are third party integrations that are apps that use a WebView (aka embedded browser) and turnstile almost always returns a failure for those apps.
Is there a documented workaround? This certainly doesn’t seem like desirable behavior.
Here’s the doc says: At the moment, CF does not offer an easy and official way to embed Turnstile in a React Native application.
An HTML page rendered in a WebView can use Turnstile. The page must be loaded from a domain allowed to use the sitekey, either using uri or by specifying the html and baseUrl options.
Make sure to not send the X-Requested-With header - turnstile will ALWAYS fail in the presence of that header.
We still have extraordinarily large amounts of issues without that though - users reporting the form always says expired or already verified, or the captcha just not rendering