Better AuthBA
Better Auth10mo ago
Jed

OTP Implementation

Hi there,

Is there an example on how to implement the OTP plugin? I'm unsure on the best way to do it

Obviously we need to ensure the users password is correct, so calling the .signIn.email is the first step, but then that validates the user and gives them the correct access

How can I then force them to use OTP before giving them the authenticated cookies?
Was this page helpful?