I need Help : could not validate redirect

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

image

Hi @razvanadamescu

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.

hello,

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

hi @razvanadamescu
Unity uses deep linking to redirect callbacks, allowing mobile apps to be opened using a specific schema.

You can read more in Installing PnP Unity SDK | Documentation | Web3Auth

@razvanadamescu Were you able to check the last reply from @TomTom ?

hello, yes i still have the same problem. i dont know how to put the whitelist and what to wrotte on the pic from the unity game:(

ok so i have the same issue please help me. so i have thsi error:

and also this is what i have configure in dashboard:


where this is the link to my game so i have put in origin list

Unity WebGL Player | Magic Mayhem

and also this is sdk snip what i have wrote


so pls tell me what i am doing wrong?
i use mainet also i have put my card details

can someone help me with this? thx

Hey @razvanadamescu,

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.