"Go to my inbox" link throws a firebase dynamic links error

When using the web3auth modal with the email login flow, we are getting a firebase dynamic link error when clicking on the “Go to my inbox” link on the “Verify your email” screen.

Please advise if this is due to our app having an issue with firebase dynamic links or if this is web3auth’s instance of firebase dynamic links not working? I’m assuming the latter, as we haven’t even set up dynamic links for our project.

  • SDK Version:
    @web3auth/base”: “^4.6.0”,
    @web3auth/metamask-adapter”: “^4.6.0”,
    @web3auth/modal”: “^4.6.2”,
    @web3auth/torus-evm-adapter”: “^4.6.0”,
    @web3auth/torus-wallet-connector-plugin”: “^4.6.0”,
    @web3auth/wallet-connect-v1-adapter”: “^4.6.0”,

  • Platform: Web

  • Browser Console Screenshots:


Please provide the Web3Auth initialization and login code snippet below:

const web3auth = new Web3Auth({
	clientId,
	web3AuthNetwork: "testnet",
	chainConfig: {
		chainNamespace: CHAIN_NAMESPACES.EIP155,
		chainId: "0x13881", // hex of 80001, polygon testnet
		rpcTarget: "https://rpc.ankr.com/polygon_mumbai", // Avoid using public rpcTarget in production. Use services like Infura, Quicknode etc
		displayName: "Polygon Mumbai Testnet",
		blockExplorer: "https://mumbai.polygonscan.com/",
		ticker: "MATIC",
		tickerName: "Matic",
	},
	uiConfig: {
		defaultLanguage: "en",
		appName: "redacted",
		theme: "dark",
		appLogo: 'redacted-link-here',
		loginMethodsOrder: ["google", "facebook", "twitter", "linkedin", "apple"]
	},
});
onMounted(async () => {
	try {
		loading.value = true
		await web3auth.initModal({
			modalConfig: {
				[WALLET_ADAPTERS.OPENLOGIN]: {
					label: "openlogin",
					loginMethods: {
						email_passwordless: {
							name: "email login",
							showOnModal: true,
						},
					},
					// setting it to false will hide all social login methods from modal.
					showOnModal: true,
				},
				[WALLET_ADAPTERS.TORUS_EVM]: { label: "torus", showOnModal: false, },
				[WALLET_ADAPTERS.METAMASK]: { label: "metamask", showOnModal: false, },
				[WALLET_ADAPTERS.WALLET_CONNECT_V2]: { label: "Wallet Connect V2", showOnModal: false, },
				[WALLET_ADAPTERS.WALLET_CONNECT_V1]: { label: "Wallet Connect V1", showOnModal: false, },
			},
		});
		loading.value = false
		if (web3auth.provider) {
			// Already logged in
			provider = web3auth.provider;
			await getAccounts()
			await getBalance()
			getDemoUsers()
			await getDemoUser()
			loggedin.value = true;
		} else {
			// not logged in
			await login()
		}
	} catch (error) {
		console.log("Error on mount:", error);
	}
});