-
Notifications
You must be signed in to change notification settings - Fork 408
fix(clerk-js): Add support for loading Turnstile from Cloudflare host #4321
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix(clerk-js): Add support for loading Turnstile from Cloudflare host #4321
Conversation
This commit adds support for loading the Turnstile CAPTCHA script from the Cloudflare host. If the script fails to load from the Cloudflare URL, it falls back to a FAPI-proxied URL.
🦋 Changeset detectedLatest commit: 80f34d7 The changes in this PR will be included in the next version bump. This PR includes changesets to release 3 packages
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 |
|
!snapshot |
|
Hey @anagstef - the snapshot version command generated the following package versions:
Tip: Use the snippet copy button below to quickly install the required packages. npm i @clerk/chrome-extension@1.3.19-snapshot.v186f265 --save-exact
npm i @clerk/clerk-js@5.26.5-snapshot.v186f265 --save-exact
npm i @clerk/clerk-expo@2.2.25-snapshot.v186f265 --save-exact |
|
!snapshot |
|
Hey @anagstef - the snapshot version command generated the following package versions:
Tip: Use the snippet copy button below to quickly install the required packages. npm i @clerk/chrome-extension@1.3.19-snapshot.v80f34d7 --save-exact
npm i @clerk/clerk-js@5.26.5-snapshot.v80f34d7 --save-exact
npm i @clerk/clerk-expo@2.2.25-snapshot.v80f34d7 --save-exact |
Description
This PR adds support for loading the Turnstile CAPTCHA script from the Cloudflare host. If the script fails to load from the Cloudflare URL, it falls back to a FAPI-proxied URL.
Checklist
npm testruns as expected.npm run buildruns as expected.Type of change