Redirect Login on Electron not redirecting back

I am trying to make the login work within an Electron app but it fails to redirect the user after doing a successful google authentication.

I am not sure if I need to use some kind of redirectUrl to point back to the app such as appname://

I tried that but it will show an error that the URL is invalid.

Any help is welcome.


@rodrigo1 Welcome Aboard!

Your issue has been forwarded to our team and we will get back with an update once more information becomes available.

Have you specified the web3AuthNetwork parameter during the Web3Auth Modal initialization ?
I’ll paste a snippet here for your reference on where should it go.

const web3auth = new Web3Auth({
          chainConfig: {
            chainNamespace: CHAIN_NAMESPACES.EIP155,
            chainId: "0x1",
            rpcTarget: "", // This is the public RPC we have added, please pass on your own endpoint while creating an app
          web3AuthNetwork: "cyan", // Within the quotes is the network

Currently, we have a migration in progress from Mainnet to Sapphire so you might experience some temporary issues on this network until it is complete. Avoid using Mainnet until then.