I have set the client ID of this project, the network is sapphire_mainnet but if I leave it like that in the sdk, it will report an error like that. But if I leave the network in the sdk as sapphire_devnet, it is fine. Please help me explain why it is like that?
Error
Something went wrong
There seems to be some bug in the code. Please contact support to fix this.
could not validate redirect, please whitelist your domain: com.holospace.fralee://auth for provided clientId My CLIENT ID at https://dashboard.web3auth.io. Also, this project is on sapphire_devnet network. Please ensure the the used Client ID belongs to this network.
The error message suggests that you might need to whitelist your redirect URL for the specific client ID in your Web3Auth dashboard, particularly when switching to sapphire_mainnet. Each network has its own requirements for redirect URL validation, so ensure that your client ID is configured correctly for the intended network.
If you can provide the Web3Auth Initialization & Login Code Snippets and confirm if this issue relates to custom authentication with a specific provider, that would be helpful. But if the above details suffice, our support team will be able to assist you effectively!
Thank you for your patience, and let me know if there’s anything else I can help with!
Note: This response was generated by an AI bot and may require further verification. The Web3Auth support team has tracked this issue and will be responding as soon as possible.
Can you please share the Web3Auth client id you are using in your project. Also, I see you are using older version of the SDK, please update the SDK to latest 9.0.0 version.
You are right, I checked the project details, and it shows the project is created for the Sapphire Mainnet network. Can you share the Android and iOS SDK initialisation code, along with Web one?
Web: We do not develop on the web environment but also test with the web. I’m testing on the example code, replacing the client ID and network, and it works fine.
From the code it looks fine, it should work fine. Is it possible for you to share the github repo for the project. If not, can you please join the office hours tomorrow so we can go through the code and debug it? Web3Auth Developer Office Hours