This topic was originally posted by razvanadamescu on 5/27/2024.
This content has been migrated from our previous community forum to preserve valuable discussions.
Can someone pls help me configuring . i am trying to configure a unity sdk -
what i must put on the Custom Rpc? ( i use solana)
what i must put on redirect url ? ( i must put my website? and only my website?)
the client id i know that i must put from the dashboard
where i have the field name can i put my project and this one i must put also on the redirect after the domain?or to put somenthing else?
could not validate redirect, please whitelist your redirect url: https://162.254.35.104 for provided clientId xxxxxxxxxxxx at https://dashboard.web3auth.io. Also, this project is on mainnet network. Please ensure the the used Client ID belongs to this network. i have this error when i try to auth sign in with google and also with twitter and so on. so i dont know what i am doing wrong
Thanks for contacting us! Did you see our Unity guide and the section on how to configure the dashboard?
You need to add the schema to the whitelist in this format :
Add {{SCHEMA}}://{YOUR_APP_PACKAGE_NAME}://auth to Whitelist URLs field of the Web3Auth Dashboard.
We’re using torusapp://com.torus.Web3AuthUnity/auth as the redirect_url in our
example just to give you a reference on how your app’s redirect_url should look like.
Please reach out to me again if you are unable to solve the problem.
thx for the info. So in the dashboard i will write at the whitelist: {{SCHEMA}}://{YOUR_APP_PACKAGE_NAME}://auth where `{{SCHEMA}}:// - is my domain for exemple. https://162.254.35.104://and here i will writte what i have in the unity at the field appname and add//auth after , yes? also on the sdk field rpc seting i will put : dev net and the rpc cluster: Solana RPC and at the network i will use mainet : i am using solana
thx
Could you please try using a registered domain address and whitelist that registered domain? This should resolve the issue. Please get back to me if it doesn’t resolve.