adding rate limits to existing auth functions (store, viewer ..etc)
I just need advice on how I can implement rate limits for pre-existing function that are coming from convex-auth,
Is there a way that I can add a certain callback in my
auth.ts
? Because it's really important especially for anonymous sign up!
Thank you for all the advice folks, I really appreciate it ❤️3 Replies
Could you say more, what is a pre-existing function that is coming from convex-auth? There's some built-in rate limiting, would you like to implement your own, or run a function each time a failured login happens? Or is this about a different kind of rate limit, for anonymous sign up, rate based on IP address or similar?
you'd be correct on the last one, I want to add more rate limits to anyonymous signups
We haven’t shipped the Anonymous support fully yet, but what you want is a captcha in the anonymous sign in flow.