Accessing getUserInfo() with the wagmi-connector plugin

Hello everyone and @yashovardhan,

I have a question about the interaction between wagmi-connector and web3auth. I was able to connect a wallet to web3auth using the wagmi-connector plugin, but I'm not sure how to call the await web3Auth?.getUserInfo() command. Could anyone provide some guidance on this?

Thank you very much.

Originally posted by: sultanpeyek

Check the discussion at:

Hey @sultanpeyek

Thanks for the question. Sorry for not getting back to you earlier on discord. I looked around the SDK, as I see currently that function is not exposed because of wagmi limitations.

@himanshuchawla009 is it possible for us to expose that function in the connector?

Originally posted by: yashovardhan

I’m also looking for this functionality as well. The only way I could get this to work is by reintroducing the web3authcontext like the example docs and then passing the web3auth instance created for WAGMI in the context provider. You basically can only get user info once tho after successful signup but I believe it also interferes with some other functionality.

Originally posted by: thedonmon

Hey I am also looking for this option

Originally posted by: krisgrm

Wait that means I cannot get userInfo if I use wagmi-connector implementation? :)

Originally posted by: devdomsos