Skip to content
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 #655: Always emit Turnstile domains, even when empty #659

Merged
merged 2 commits into from
Dec 22, 2023

Conversation

punkeel
Copy link
Member

@punkeel punkeel commented Dec 21, 2023

When Turnstile is configured with an empty list of domains, no validation
is performed by Cloudflare - the widget can be used anywhere. The website
owner is responsible for validating the challenge was solved on the "right"
website.
This feature is gated behind an entitlement, and domains = [] is used to
enable this. This is not a default value for domains, it must be picked
explicitly.

This includes more widgets, including more 'exotic' configs - and adds new response fields introduced over time.
When Turnstile is configured with an empty list of domains, no validation
is performed by Cloudflare - the widget can be used anywhere. The website
owner is responsible for validating the challenge was solved on the "right"
website.
This feature is gated behind an entitlement, and `domains = []` is used to
enable this. This is *not* a default value for domains, it must be picked
explicitly.

Fixes cloudflare#655.
@jacobbednarz jacobbednarz merged commit 158e993 into cloudflare:master Dec 22, 2023
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants