Skip to main content
import { AUTH_CONNECTION, MFA_LEVELS, WALLET_CONNECTORS, WEB3AUTH_NETWORK } from "@web3auth/modal";
import { type Web3AuthContextConfig } from "@web3auth/modal/react";

const clientId = "BLQifFrG2BK7I719MiqtKAgTC38zPZbxPnsDrcYVJ0mrJQG9K-ev6r8Z4c83n46fRLpCwEgsqbZS5lFWyJW-eCY"; // get from https://dashboard.web3auth.io

const web3AuthContextConfig: Web3AuthContextConfig = {
web3AuthOptions: {
clientId,
web3AuthNetwork: WEB3AUTH_NETWORK.MAINNET,
mfaLevel: MFA_LEVELS.NONE,
modalConfig: {
connectors: {
[WALLET_CONNECTORS.AUTH]: {
label: "auth",
loginMethods: {
google: {
name: "google login",
authConnectionId: "tlnt-google",
},
},
},
},
},
}
};

export default web3AuthContextConfig;