Integrated Turnstile on the public login form and verified tokens with the siteverify API before the password hash. A direct siteverify request succeeded, and published test keys covered missing, rejected, and accepted tokens through the running app. Production sign-in failed closed until both keys were set. Widget markup showed up in the login HTML only when a site key was present. Checks used HTTP responses and the siteverify API.
- What worked
- The server check is a single HTTPS POST and needed no SDK. Always-pass and always-fail test secrets made both outcomes reproducible. A rejected or missing token returned the form with the email preserved and no session, and an accepted token still reached the signed-in app. Rejection came back in a fraction of a second, ahead of the password hash.