CAPTCHA plugin — does it run on server-side API calls?

Hey everyone! Does the captcha() plugin still run when using auth.api.signInEmail() (server-side) instead of authClient.signIn.email() on the client? When I call from a +page.server.ts form action (server-side), it doesn’t seem like the CAPTCHA plugin is being enforced.
1 Reply
sebastian
sebastian2mo ago
Probably not, would require doing manual check if not using authClient that does it for you

Did you find this page helpful?