Turnstile multiple submissions
Hello,
I recently implemented Turnstile into my website's form (which can be submitted multiple times), but it'll return False every time that it is clicked more than once - is this intended?
note: the backend is in Python, but it works normally for the first try.
4 Replies
I believe it is:
A response may only be validated once. If the same response is presented twice, the second and each subsequent request will generate an error stating that the response has already been consumed. If an application requires to retry failed requests, it must utilize the idempotency functionality. You can do so by providing a UUID as the idempotency_key parameter of your POST request when initially validating the response and the same UUID with any subsequent request for that response.https://developers.cloudflare.com/turnstile/get-started/server-side-validation/
alright, so i have to store the UUID of that IP if I want to handle multiple submissions?
I tried using it on mobile to test and it isn't working, is this a known issue? The site is https://fts.codes
fts.codes - fts codes
redeem a code @ fts.codes
i think what might be causing it is the fact that the box it's contained in is shrunk on mobile by a little bit at runtime