# \[Archive\] URL Whitelisting not working properly

**URL:** <https://builder.metamask.io/t/archive-url-whitelisting-not-working-properly/1761>\
**Category:** Embedded Wallets (Web3Auth)\
**Created:** [July 3, 2023, 7:59am UTC](https://builder.metamask.io/t/archive-url-whitelisting-not-working-properly/1761 "2023-07-03T07:59:22Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![c.postic](https://avatars.discourse-cdn.com/v4/letter/c/c67d28/32.png) [@c.postic](https://builder.metamask.io/u/c.postic)\
**Post date:** [July 3, 2023, 7:59am UTC](https://builder.metamask.io/t/archive-url-whitelisting-not-working-properly/1761/1 "2023-07-03T07:59:22Z")

</div>

> **🏛 Archived Content from Web3Auth Community**
> 
> This topic was originally posted by **c.postic** on 7/3/2023.  
> This content has been migrated from our previous community forum to preserve valuable discussions.

* * *

Same error as [here](https://community.web3auth.io/t/urgent-impacting-multiple-clients-testnet-deprecated-and-sapphire-devnet-and-testnet-domain-whitelisting-not-functioning/4687/12)  
I’ve been using Web3Auth in local/pre-prod for a while now and it was working like a charm but we tried to deploy in preproduction friday and we faced an error about whitelist.  
I though it was an issue with our Web3Auth client ID so I created a new one on the Cyan network but we have the same error :  
Error: could not validate redirect, please whitelist your domain: https ://staging.xxx.io for provided clientId BEsnekHO\_n1x3tGfnbm-Uzerj2l8NTeS\_UNe6WNEUNb9Y88F4f-7cvykxwYpv4KWJYBMHrRQEQK20H5uRM1AGOw at https ://dashboard.web3auth.io.

- SDK Version: 5.2.0
- Platform: chrome

---

<div class="post-metadata">

**Author:** ![vjgee](https://avatars.discourse-cdn.com/v4/letter/v/b5e925/32.png) [@vjgee](https://builder.metamask.io/u/vjgee)\
**Post date:** [July 3, 2023, 10:37am UTC](https://builder.metamask.io/t/archive-url-whitelisting-not-working-properly/1761/2 "2023-07-03T10:37:49Z")

</div>

@c.postic Thanks for reporting this.

Your issue has been forwarded to our team and we will get back to you with further updates once more information becomes available.

---

<div class="post-metadata">

**Author:** ![vjgee](https://avatars.discourse-cdn.com/v4/letter/v/b5e925/32.png) [@vjgee](https://builder.metamask.io/u/vjgee)\
**Post date:** [July 4, 2023, 5:39am UTC](https://builder.metamask.io/t/archive-url-whitelisting-not-working-properly/1761/3 "2023-07-04T05:39:57Z")

</div>

@c.postic To better assist you, can you share your web3auth implementation code? I think the reason here might be related to wrong `web3authNetwork` parameter in the web3auth constructor code.

---

<div class="post-metadata">

**Author:** ![narendera.abhiwan](https://avatars.discourse-cdn.com/v4/letter/n/2acd7d/32.png) [@narendera.abhiwan](https://builder.metamask.io/u/narendera.abhiwan)\
**Post date:** [July 4, 2023, 5:58am UTC](https://builder.metamask.io/t/archive-url-whitelisting-not-working-properly/1761/4 "2023-07-04T05:58:31Z")

</div>

Hi @vjgee I am also facing similar issue. So when I build a android application it always show this error " could not validate redirect, please whitelist your redirect url: torusapp://com.torus.Web3AuthUnity for provided clientid BG36kJm4mt-a1Q3vULj\_hEylrZmw2M2fckiJG1GGVaeyoOAm16-s1dPLWsDEvovnbr78LYvcYc4hBJVtk3029lM at [https://dashboard.web3auth.io/](https://dashboard.web3auth.io/). Also, this project is on mainnet network. Please ensure the used Client ID belongs to this network.". This issue comes only when I try to login with twitter and google but with phantom it works absolutely fine, also the same project works fine on web and unity editor.I have attached the screenshots for reference, please look into it. I am using sample project of solana unity sdk.

[![WhatsApp Image 2023-07-03 at 6.04.27 PM (1)](https://canada1.discourse-cdn.com/flex011/uploads/metamaskbuilderhub/original/2X/0/0d55aa6182837c7f7fe3ab38813e61cc3d9df765.jpeg)
WhatsApp Image 2023-07-03 at 6.04.27 PM (1)540×1230 17.8 KB
](https://community.web3auth.io/community/community/uploads/default/original/2X/f/f741cad4ddc219e57bfafb0e4abb9ff64807c857.jpeg "WhatsApp Image 2023-07-03 at 6.04.27 PM (1)")

---

<div class="post-metadata">

**Author:** ![vjgee](https://avatars.discourse-cdn.com/v4/letter/v/b5e925/32.png) [@vjgee](https://builder.metamask.io/u/vjgee)\
**Post date:** [October 6, 2023, 4:06am UTC](https://builder.metamask.io/t/archive-url-whitelisting-not-working-properly/1761/5 "2023-10-06T04:06:55Z")

</div>

Do you still need assistance on this?
