Summary
This hook allows for authenticating a user using email or sms OTP without the standard Dynamic SDK.How it works
TheuseConnectWithOtp hook exposes the connectWithEmail, connectWithSms and verifyOneTimePassword functions, with these functions you can send an OTP to a user and then verify the OTP code the user received.
The hook works with Dynamic User Verification provider.