Need guidance to set Captcha!
await authClient.signIn.email({
email: "[email protected]",
password: "secure-password",
fetchOptions: {
headers: {
"x-captcha-response": turnstileToken,
},
},
});
Whats turnstileToken here?
from where i can get this?
Anyone implemented plz help. turnstileToken is not secret key right?2 Replies
Try to use https://github.com/marsidev/react-turnstile and https://www.sather.ws/blog/posts/cloudflare-turnstile
GitHub
GitHub - marsidev/react-turnstile: Cloudflare Turnstile integration...
Cloudflare Turnstile integration for React. Contribute to marsidev/react-turnstile development by creating an account on GitHub.
Cloudflare Turnstile with React Hook Form
How to integrate Cloudflare Turnstile into a React Hook Form inside a Next.js Typescript application.
But better auth has inbuilt option to enable it right?