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

[Turnstile] Pre clearance implementation #14384

Open
kodster28 opened this issue May 3, 2024 · 0 comments
Open

[Turnstile] Pre clearance implementation #14384

kodster28 opened this issue May 3, 2024 · 0 comments
Assignees
Labels
content:edit Request for content edits documentation Documentation edits product:turnstile

Comments

@kodster28
Copy link
Contributor

Existing documentation URL(s)

https://developers.cloudflare.com/turnstile/concepts/pre-clearance-support/

What changes are you suggesting?

honestly I'm completely lost by the docs.

  1. I think that the blog post should not be the only place with code or how-to
  2. I see no way to verify a pre clearance token (All I see is mention of a WAF rule).

In a SPA with SSR framework (for example, we're using Qwik), each page is dynamically loaded as JSON chunks by a service worker and the url bar is rewritten "placebo" style (no actual GET/POST requests - all intercepted by the framework router as if they really were), WAF doesn't reliably intercept it (only if that specific page is directly visited from the start or refresh). However as part of SSR, a check (like normal turnstile) can be manually done.

Additional information

Feedback collected from Discord user

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
content:edit Request for content edits documentation Documentation edits product:turnstile
Projects
None yet
Development

No branches or pull requests

5 participants