Is it possible to add a plugin to a Single Factor Auth SDK instance?

Hi there Web3Auth Team!
Excited about this feat! looks great :raised_hands:

We’d like to connect the Torus plugin - welletConnect QR code scanner, with our SFA flow.

We’ve noticed that the addPlugin method is implemented only in the no-modal SDK,
is it possible to use the plugin with the SFA instance?

Does it make sense to try to patch it on our side (we can also add a ticket or help), or does the torusPlugin inherently can not connect to a SFA user - without the OpenLogin verification?

Thanks very much!!
Ron

Related ticket: #3167

Hey @ronerlih

Currently, it’s not supported.

1 Like

You cant pass the plugin directly in single factor auth sdk, but you can pass the private key that you are getting from single factor auth sdk to plugin’s init function which takes a private key and then call connect function on plugin, that should be enough to use the wallet ui plugin.

1 Like

Thanks @shahbaz and @himanshu !! we’ll try that :+1:
Like in the guide we have the MFA fallback in the works to pick that up in case that also errors. Sounds promising, thanks!!
will follow up to close this :crossed_fingers: :raised_hands: :purse:

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