Skip to content

Conversation

@nikosdouvlis
Copy link
Member

Description

The turnstile script now returns 403 if proxied through the worker. This is a change on the CF side, so we:

  1. removed the code from the worker
  2. removed the fallback logic from clerkjs
  3. if challenges.cloudflare.com fails, then the clerkjs will send a captha_error payload instead of falling back to the proxy

Checklist

  • pnpm test runs as expected.
  • pnpm build runs as expected.
  • (If applicable) JSDoc comments have been added or updated for any package exports
  • (If applicable) Documentation has been updated

Type of change

  • 🐛 Bug fix
  • 🌟 New feature
  • 🔨 Breaking change
  • 📖 Refactoring / dependency upgrade / documentation
  • other:

@changeset-bot
Copy link

changeset-bot bot commented Jan 17, 2025

🦋 Changeset detected

Latest commit: 8cd5203

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 3 packages
Name Type
@clerk/clerk-js Patch
@clerk/chrome-extension Patch
@clerk/clerk-expo Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@vercel
Copy link

vercel bot commented Jan 17, 2025

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
clerk-js-sandbox ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jan 17, 2025 8:50am

@nikosdouvlis nikosdouvlis merged commit 27fb70a into main Jan 17, 2025
30 checks passed
@nikosdouvlis nikosdouvlis deleted the nikos/fraud-204-remove-cf-proxy-from-clerkjs-proxy-worker branch January 17, 2025 10:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants