#how to use authRateLimits?
1 messages · Page 1 of 1 (latest)
The rate limiting is automatic. Convex Auth rate limits all sign-ins where users provide email + (short) secret, so in OTP and Password flows.
The library doesn't rate limit magic links (the code is long enough to not be bruteforceable) or OAuth.
You can configure the rate limit via this option:
https://labs.convex.dev/auth/api_reference/server#signinmaxfailedattempsperhour
Authentication library for your Convex backend