DoctorEw
CDCloudflare Developers
•Created by DoctorEw on 3/8/2024 in #general-help
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!
3 replies