When asking for help in this category, please make sure to provide the following details:
- SDK Version(package.json): 8
- Platform: explore.dualmint.com
- Browser Console Screenshots:
- If the issue is related to Custom Authentication, please include the following information (optional):
- Verifier Name:
- JWKS Endpoint:
- Sample idToken (JWT):
Also, kindly provide the Web3Auth initialization and login code snippet below. This will help us better understand your issue and provide you with the necessary assistance.
const web3AuthOptions = {
clientId: process.env.NEXT_PUBLIC_WEB3AUTH_CLIENTID,
web3AuthNetwork: process.env.NEXT_PUBLIC_WEB3AUTH_NETWORK, // Use the appropriate network
privateKeyProvider, // Make sure to pass the privateKeyProvider here
uiConfig: {
appName: 'Dualmint',
mode: 'dark', // light, dark or auto
logoLight: '/LogoLight.png',
logoDark: '/LogoDark.png',
defaultLanguage: 'en', // en, de, ja, ko, zh, es, fr, pt, nl
loginGridCol: 3,
primaryButton: 'socialLogin', // "externalLogin" | "socialLogin" | "emailLogin"
},
};
// Create a new Web3Auth instance with your options
const web3auth = new Web3Auth(web3AuthOptions);
// Get the default external adapters
const adapters = await getDefaultExternalAdapters({
options: web3AuthOptions,
});
// Configure each adapter by adding it to your Web3Auth instance
adapters.forEach((adapter) => {
web3auth.configureAdapter(adapter);
});
// Initialize the Web3Auth modal
await web3auth.initModal();
// Connect and get the provider
const web3authProvider = await web3auth.connect();
MY MODAL IS NOT WORKING ON MY MAINNET: https://explore.dualmint.com/
Can someone help regarding this?