Adding turnstile to webflow

Hi y'all -- I've taken ownership of a webflow site (designed to allow the non-techy folk in the company set up pages) I've already routed DNS through cloudflare and deployed a worker to post form data to a mongo db (I am setting up the expectations of tech prowess for my question below) Now I want to add an implicit turnstile to the form. I've set up SSL to full and added the root domain and subdomain to a turnstile (have my keys). And I successfully added the widget to the form. The widget shows success, but I get a couple errors in the console and the form no longer submits GET https://challenges.cloudflare.com/cdn-cgi/challenge-platform/h/b/pat/{ids_removed_for_this_forum_post}} 401 (Unauthorized) POST https://{my_domain}/cdn-cgi/challenge-platform/h/b/rc/{ids_removed_for_this_forum_post} 405 (Method Not Allowed) Note that the post to my domain matches the route to the challenges.cloudflare. I saw the documentation on server-side auth but have no clue where I should host / put this Anyone get turnstile working on WebFlow? Thanks!
2 Replies
Flare
Flare10mo ago
Seeing a 401 error in your console during a Turnstile security check? You can safely ignore the error, it's requesting a PAT but your device/browser does not support PATs yet, so you see the error. Learn more: https://blog.cloudflare.com/eliminating-captchas-on-iphones-and-macs-using-new-standard/
DoctorEw
DoctorEwOP10mo ago
Thank you! Yeah, I had DNS only -- changed to proxy and the handshake succeeded! As a side note, somehow putting the widget inside the form indeed breaks Webflow
Want results from more Discord servers?
Add your server