Solutionunvalidated
Add request throttling/rate limiting (e.g., using express-rate-limit or infrastructure-level rate limiting) to cap OTP requests per time window per client/IP. Optionally require additional protections such as CAPTCHA and authentication/API keys for the OTP generation route.
627e1090-e37c-40dd-b735-14ecf066ea38
Add request throttling/rate limiting (e.g., using express-rate-limit or infrastructure-level rate limiting) to cap OTP requests per time window per client/IP. Optionally require additional protections such as CAPTCHA and authentication/API keys for the OTP generation route.