Send a fixed OTP for automate testing

Hello,

I’ve implemented Passwordless Authentication with SMS.

I want to automate the login testing but every time it sends a different OTP which makes it very difficult to automate the process. So what I want is I want to send a fixed OTP until the website is in the test environment. I couldn’t find any documentation regarding this implementation. Can someone please give me guidance regarding the same?

Thanks!

Hey @vishal.agarwal !

Unfortunately this is not something that is supported out of the box so to speak. The only way I can see this working is somehow mocking the calls/OTP to Auth0 in your testing :confused: Not ideal, but I am personally not aware of any way to achieve what you are looking for.

It might be worth opening a feedback request.

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.