I’m currently working on a project in the development phase using Web3Auth. My application is set up on the free plan, and I’m testing the social login feature with a unity WebGL build deployed on my website.
I’ve already whitelisted the domain of the site in the Web3Auth dashboard, but when I try to use the social login, I get the following error:
“Could not validate redirect, please whitelist your domain.”
I’ve double-checked the domain I added to the Web3Auth configuration, and everything seems correct. However, the issue persists. I’m currently deploying on devnet.
Thank you for reaching out and explaining your issue. I understand how frustrating this must be for you. Let’s see if we can sort this out.
It looks like you’re using the Plug n Play setup with Unity WebGL, and you’re encountering a redirect validation error even after whitelisting your domain in the Web3Auth dashboard. A few things you might want to verify:
Domain Configuration: Ensure that the exact domain URL (including any subdomains) where your Unity WebGL application is hosted is added to the Web3Auth whitelist. Sometimes, small discrepancies, like an extra “www” or missing “http/https,” can cause issues.
Unity WebGL Setup: Make sure that the configuration in your Unity WebGL build for Web3Auth matches the settings in the Web3Auth dashboard, particularly focusing on the redirect URIs.
Cache and Cookies: Clear your browser cache and cookies or try accessing your application in a private/incognito window to rule out any local browser cache issues.
Since you’re already using the free plan on devnet, double-checking these settings should cover most bases. If the issue persists, could you share a snippet of your Web3Auth initialization and login code? This will help us to diagnose if there’s a configuration issue.
Please let me know if you need further assistance!
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.