Web3Auth (X Web3AuthCore) with custom Chain and Auth0

Hello,
I want to use Web3auth with Avalanche Testnet, and my auth0 adapters.
Here is what I have been doing:

And the error I have is:

Uncaught (in promise) WalletInitializationError: Wallet is not found, Please add wallet adapter for auth0-adapter wallet, before connecting

any help would be welcome.



Originally posted by: lambdina

Check the discussion at: https://github.com/orgs/Web3Auth/discussions/1092

Hey @lambdina

I see you're using @web3auth/modal package, and it doesn't support Auth0 login with it. Instead, use @web3auth/core.

Please take a look at our Auth0 guide to configure as per the latest changes in SDK. Also, update all the SDKs to the latest version.

Also, see the example code and live demo site for the same. Feel free to change the chain config to match with Avalanche C-Chain.



Originally posted by: shahbaz17