# \[Archive\] We can not find the wallets in Torus that were created in our dApp

**URL:** <https://builder.metamask.io/t/archive-we-can-not-find-the-wallets-in-torus-that-were-created-in-our-dapp/1544>\
**Category:** Embedded Wallets (Web3Auth)\
**Created:** [March 19, 2024, 11:23am UTC](https://builder.metamask.io/t/archive-we-can-not-find-the-wallets-in-torus-that-were-created-in-our-dapp/1544 "2024-03-19T11:23:10Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![karaman.dominik](https://avatars.discourse-cdn.com/v4/letter/k/22d042/32.png) [@karaman.dominik](https://builder.metamask.io/u/karaman.dominik)\
**Post date:** [March 19, 2024, 11:23am UTC](https://builder.metamask.io/t/archive-we-can-not-find-the-wallets-in-torus-that-were-created-in-our-dapp/1544/1 "2024-03-19T11:23:10Z")

</div>

> **🏛 Archived Content from Web3Auth Community**
> 
> This topic was originally posted by **karaman.dominik** on 3/19/2024.  
> This content has been migrated from our previous community forum to preserve valuable discussions.

* * *

First of all, I am not a dev, so pardon me if I don’t provide the general infos that were specified here to display in every new topic.

But as I think the problem is more general, I hope my description is enough.

we created a dApp where we implemented Web3 Auth for creating an account/signing in while automatically creating a wallet in the background for the user.

We login via Google Auth mostly.  
We can verify that there are wallets generated for those accounts in our database.

Now when logging in with this google auth email to torus wallet, I can not find the wallet for the app I logged in with.

I can see a general wallet assigned to my email, but as far as I know for every dApp you login via this method, a new wallets gets generated.

I can also see, that the wallet in our database (which is created while logging in/creating account) is different to the one that’s assigned to my email on the torus app.

bottom line:  
how can we display the wallets created for our specific dApp when a user logs into torus with their email/google (or other login methods, doesn’t really matter)?

---

<div class="post-metadata">

**Author:** ![TomTom](https://avatars.discourse-cdn.com/v4/letter/t/a9a28c/32.png) [@TomTom](https://builder.metamask.io/u/TomTom)\
**Post date:** [March 19, 2024, 9:02pm UTC](https://builder.metamask.io/t/archive-we-can-not-find-the-wallets-in-torus-that-were-created-in-our-dapp/1544/2 "2024-03-19T21:02:39Z")

</div>

hi @karaman.dominik

I hope you are doing well. Please read our docs about different address accross integration so you can understand better web3auth: [Different Private Keys/ Wallet Address across Integrations | Documentation | Web3Auth](https://web3auth.io/docs/troubleshooting/different-private-key)

Also you can check our PnP Modal SDK example to know how to show the address: [https://github.com/Web3Auth/web3auth-pnp-examples/tree/main/web-modal-sdk/blockchain-connection-examples/evm-modal-example](https://github.com/Web3Auth/web3auth-pnp-examples/tree/main/web-modal-sdk/blockchain-connection-examples/evm-modal-example)

```
  <a href="https://github.com/Web3Auth/web3auth-pnp-examples/blob/93604af73b3891ad0523efc4099b27317de9fd9c/web-modal-sdk/blockchain-connection-examples/evm-modal-example/src/ethersRPC.ts#L25C3-L42C4" target="_blank" rel="noopener">github.com</a>

```

#### [Web3Auth/web3auth-pnp-examples/blob/93604af73b3891ad0523efc4099b27317de9fd9c/web-modal-sdk/blockchain-connection-examples/evm-modal-example/src/ethersRPC.ts#L25C3-L42C4](https://github.com/Web3Auth/web3auth-pnp-examples/blob/93604af73b3891ad0523efc4099b27317de9fd9c/web-modal-sdk/blockchain-connection-examples/evm-modal-example/src/ethersRPC.ts#L25C3-L42C4)

```
<pre class="onebox"><code class="lang-ts">
  <ol class="start lines" start="25" style="counter-reset: li-counter 24 ;">
      <li>async getAccounts(): Promise&lt;any&gt; {</li>
      <li> try {</li>
      <li> // For ethers v5</li>
      <li> // const ethersProvider = new ethers.providers.Web3Provider(this.provider);</li>
      <li> const ethersProvider = new ethers.BrowserProvider(this.provider);</li>
      <li></li>
      <li> // For ethers v5</li>
      <li> // const signer = ethersProvider.getSigner();</li>
      <li> const signer = await ethersProvider.getSigner();</li>
      <li></li>
      <li> // Get user's Ethereum public address</li>
      <li> const address = signer.getAddress();</li>
      <li></li>
      <li> return await address;</li>
      <li> } catch (error) {</li>
      <li> return error;</li>
      <li> }</li>
      <li>}</li>
  </ol>
</code></pre>

```

Please contact me if you have any other question.

---

<div class="post-metadata">

**Author:** ![TomTom](https://avatars.discourse-cdn.com/v4/letter/t/a9a28c/32.png) [@TomTom](https://builder.metamask.io/u/TomTom)\
**Post date:** [March 20, 2024, 4:23pm UTC](https://builder.metamask.io/t/archive-we-can-not-find-the-wallets-in-torus-that-were-created-in-our-dapp/1544/3 "2024-03-20T16:23:58Z")

</div>

hi @karaman.dominik

I forgot to tell you that you could also use

`await web3auth.authenticateUser();` to get more info 🙂

 ![](https://canada1.discourse-cdn.com/flex011/uploads/metamaskbuilderhub/original/1X/4bea15d5fdfd372b2e7fae21263c61fab3da9379.png)

```
  <a href="https://web3auth.io/docs/sdk/pnp/web/modal/usage#authenticateuser" target="_blank" rel="noopener">web3auth.io</a>

```

### [Using PnP Web Modal SDK | Documentation | Web3Auth](https://web3auth.io/docs/sdk/pnp/web/modal/usage#authenticateuser)

@web3auth/modal Usage | Documentation - Web3Auth
