Working example of self-host with UI?

we were looking to integrate the self-host SDK ( with a firebase login. we are stuck on trying to understand where to integrate the ui.

do u have a working example of using the self-host SDK with a login UI ?

is this supposed to launch a UI ? we are not able to get it to work. we are on a react-native mobile app.

const loginResponse = await (tKey.serviceProvider as TorusServiceProvider).triggerLogin({
    typeOfLogin: "google",
    verifier: "web3auth-testnet-verifier",
    clientId: "",

Originally posted by: sandys

Check the discussion at:

currently we have this example:

Originally posted by: himanshuchawla009