If that doesn't work for you though, then you can make it so that just typing in "0000" as the OTP with that phone number works as well. To do this, you want to:
- Define your own sendSms function which saves the input OTP against the preAuthSessionId (in a map in memory)
- Override the consumeCode API which checks if the input preAuthSessionId exists in that map, and if the input OTP is 0000, then it fetches the real OTP from that map and calls the original implementation with it