Hi folks,
Looking to go live shortly and I’m struggling moving over from testnet to mainnet Web3Auth. I’m getting the following error:
could not validate redirect, please whitelist your domain: REDACTED for provided clientId REDACTED at https://dashboard.web3auth.io.
Also, this project is on mainnet network. Please ensure the the used Client ID belongs to this network.
The client ID is the new mainnet ID so I’m confused as to why I’m getting this error. I’ve probably missed something obvious.
These are the steps I’ve taken:
- I created a mainnet Plug and Play project with the same name as my testnet project
- I whitelisted the same set of Whitelisted URLs (besides localhost)
- I’ve updated production to point at the new client ID and set the “web3AuthNetwork” to “mainnet”
Result:
- The error above
- Empty modal appears
The error mentions a redirect URL but I haven’t configured this anywhere as I’m using the Plug and Play modal. Is this perhaps the issue?
Last bit of context: This error first happened last week. I gave up. Retried this week in case it was taking a while for whitelisted URLs to work. After testing today it wasn’t that, so I deleted the project and created a new one. Followed the same steps above, and am still getting the same error.
Please help