[SOLVED] How to get web3auth Instance when I use web3auth Authenticate

Hello,

    I am using web3auth Authenticate with Moralis. AndI have logged in successfully.

    Then, I also want to use @web3auth/torus-wallet-connector-plugin with web3auth, In document from web3auth (https://web3auth.io/docs/sdk/web/plugins/torus-wallet), I need instance of web3auth.

    But, when using moralis, web3auth instance is not created by me. How could I get it from Moralis.

    Thank you!

Is this for v1 or v2? Or how are you using Web3Auth with Moralis in your code?

I am using v1

const { Moralis } = useMoralis();

Finally, I found I canget web3Auth instance by call

Moralis.connector

It works. Thank you.