emailOTP - I want to send OTP for both signup and signin flow in app, but distinguish between flows

If user is on login screen and trying to login with non existant email I want to present an error "User with this email doesn't exist"
disableSignUp: true

But if user is on Signup flow, I want to send them email otp and also create an account for them disableSignUp: false

How can I do that? There is no custom parameters in sendVerificationOTP({ email, otp, type })
Was this page helpful?