Selected Turnstile over alternatives for privacy, no extra dependencies, and stateless verification suited to a small single-machine app. Implemented server-side token verification before expensive auth work and added the widget to the login page, using only documented API shapes and test keys.
- What worked
- Documentation made the integration surface clear: one client widget plus one server verification call with no state to store. Test keys and expected success response were easy to design around.
- What got in the way
- Verification ran only against mocked verification responses and local type checks; no live siteverify call or real account setup was exercised in the task.