Just clone the unity web3auth quick start project and got this error

it’s a clientId invalid initializer member declaration error how can I solve this? it’s the same script that comes with SDK

hi @axay.kmphitech

I hope you are doing great.

Could you try to test the example with this code?

web3Auth.setOptions(new Web3AuthOptions()
        {
            clientId = "BPi5PB_UiIZ-cPz1GtV5i1I2iOSOHuimiXBI0e-Oe_u6X3oVAbCiAZOTEBtTXw4tsluTITPqA8zMsfxIKMjiqNQ",
            redirectUrl = new System.Uri("w3aexample://com.web3auth.unityaggregateexample"),
            network = Web3Auth.Network.SAPPHIRE_MAINNET,
        });

as the example web3auth-pnp-examples/unity/unity-aggregate-verifier-example/Assets/Web3AuthScript.cs at 3a0d1373e67c814293f295b782b23bc9c548012e · Web3Auth/web3auth-pnp-examples · GitHub

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.