We are using OTP codes for our users to login to our apps.
I am currently working on test automation. We have white listed the office IP in our test tenant but I seem to be running into some type of throttling/blocking. Seems to happen after 15-20 minutes of running the automation tests. It also seems to happen at times if I create a user ahead of the login using the APIs and request another OTP immediately after to login in the UI. Are there specific settings I can set to allow our automated tests to run without the throttles in our test tenant?
Hi @jayem, and welcome to the Auth0 Community!
If you have already white-listed your IP in each Attack Protection feature individually, there aren’t any other settings you can modify. The behavior you’re describing is the result of multiple layers of Auth0’s rate limiting and attack protection systems. Your test suite, by its nature, mimics patterns that these systems are designed to detect and block.
What I would do in your situation is add some intentional delay between your API requests. I’m not sure what specific delay would completely mitigate your issue, so you will have to experiment a bit.
I hope this helps you!
Sincerely,
Teodor.
This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.