-
Notifications
You must be signed in to change notification settings - Fork 5.6k
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
[Turnstile] Pre-clearance + Hostname Mgmt overhaul #19373
Open
patriciasantaana
wants to merge
6
commits into
production
Choose a base branch
from
patricia/pcx11241-pc-hmgmt
base: production
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
+98
−40
Open
Changes from all commits
Commits
Show all changes
6 commits
Select commit
Hold shift + click to select a range
d9ba18a
preclearance cookies
patriciasantaana 532104b
hostname mgmt
patriciasantaana 87710d0
fix
patriciasantaana 05b1a2e
get started hostnames
patriciasantaana 90392ed
add link
patriciasantaana caaa30a
spacing
patriciasantaana File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,7 +2,7 @@ | |
title: Mobile implementation | ||
pcx_content_type: concept | ||
sidebar: | ||
order: 5 | ||
order: 6 | ||
|
||
--- | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
--- | ||
title: Enable pre-clearance cookies | ||
pcx_content_type: get-started | ||
sidebar: | ||
order: 3 | ||
label: Pre-clearance cookies | ||
|
||
--- | ||
|
||
## Prerequisites | ||
|
||
To enable pre-clearance, you must ensure that the hostname of the Turnstile widget matches the zone with the WAF rules. During the Turnstile configuration setup in the Cloudflare dashboard, you can see the registered zones. Select the appropriate hostname from this list. | ||
|
||
The prerequisite is crucial for pre-clearance to function properly. If set up correctly, visitors who successfully solve Turnstile will receive a cookie with the security clearance level set by the customer. When encountering a WAF challenge on the same zone, they will bypass additional challenges for the configured clearance level and below. | ||
|
||
For more details on managing hostnames, refer to the [Hostname Management documentation](/turnstile/concepts/hostname-management/). | ||
|
||
## Enable pre-clearance on a new site | ||
|
||
1. Log in to the [Cloudflare dashboard](https://dash.cloudflare.com/login) and select your account. | ||
2. Go to **Turnstile** > **Add widget**. | ||
3. Under **Would you like to opt for pre-clearance for this site?** select **Yes**. | ||
4. Choose the pre-clearance level from the select box. | ||
5. Select **Create**. | ||
|
||
## Enable pre-clearance on an existing site | ||
|
||
1. Log in to the [Cloudflare dashboard](https://dash.cloudflare.com/login) and select your account. | ||
2. Go to **Turnstile**. | ||
3. Go to the existing widget or site and select **Settings**. | ||
4. Under **Would you like to opt for pre-clearance for this site?** select **Yes**. | ||
5. Choose the pre-clearance level from the select box. | ||
6. Select **Update**. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,7 +2,7 @@ | |
pcx_content_type: how-to | ||
title: Terraform | ||
sidebar: | ||
order: 3 | ||
order: 4 | ||
--- | ||
|
||
:::note[Requirements] | ||
|
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
(with that feature, no hostnames are specified - the widget works everywhere)