Can a web3auth user sign transaction using OTP?

SDK version : 9.3+
Using React Plug N Play

Hi team ,
I am developing an app and using web3auth as authentication provider.
So, my app users can only login with their email and phone number ( made changes to the web3auth initializer function and achieved this ).
I can’t share the more details about the app right now.
Now, coming to the problem statement.

I want a workflow like my app users can sign txns using otp . Is that possible using web3auth?
They don’t need to come to my app , login and then sign the txn.

I want to have a flow where they can give their email or phone number over an API call to my backend server or web3auth server and the server then asks them for OTP. If user gets authenticated successfully , he can sign txn without actually signing , just using OTP.

Hi Gaurav!

Thank you for reaching out with your interesting use case involving Web3Auth.

To clarify your inquiry about the possibility of allowing users to sign transactions using OTP without logging into your app first: Web3Auth primarily focuses on providing secure authentication methods, and while OTP is a valid way of authenticating users, the standard workflow for signing transactions typically requires users to be authenticated through the app.

Currently, enabling transaction signing via OTP directly may not be supported out-of-the-box with Web3Auth, as it’s designed to ensure secure transactions are tied to an authenticated session within the app.

However, you might consider using Web3Auth’s core functionality while integrating an alternative mechanism for OTP verification on your backend for transaction signing, ensuring that it meets security best practices.

Here’s a quick summary of your provided information for the support team:

  • SDK Details: Help - Plug n Play
  • SDK Version: 9.3+
  • Platform: React Plug N Play
  • Issue Statement: Inquiring if users can sign transactions using OTP without logging into the app first.

It seems like a great idea to explore further—if you have any additional questions or need more assistance, feel free to ask!

Note: This response was generated by an AI bot and may require further verification. The Web3Auth support team has tracked this issue and will be responding as soon as possible.

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.

Hey, this feature of having transactional MFA is not possible as of now using Web3Auth, although you can build your own system which helps you do this. It’s in our roadmap to have transactional 2FA, we’ll share as soon as we have updates.