signIn and signUp with password using email and OTP

I want to setup signIn and signUp without using password
the flow should be like

SignUp:
step 1: user will enter name and email
step 2: user will receive OTP in email and do the verification

SignIn:
step 1: user will enter email
step 2: user will receive OTP in email and do the verification

how to achive this please guide me
Was this page helpful?