At below situation, error say Error occurred while fetching node details from dkg service is always happen. Please teach me what is this?
- I create verifier using https://web3auth.io/docs/content-hub/guides/firebase
- client side
const auth = getAuth(app);
const googleProvider = new GoogleAuthProvider();
const loginRes = await signInWithPopup(auth, googleProvider);
console.log("user?.getIdToken(true))");
const idToken = await loginRes.user.getIdToken(true);
const userInfo = parseToken(idToken);
//send { user_id: userInfo.user_id, idToken: idToken }
- server side
import Web3Auth from "@web3auth/node-sdk" //v3.2.0
const web3auth = new Web3Auth({
clientId,
web3AuthNetwork: "sapphire_devnet",
});
const provider = await web3auth.connect({
verifier: "custom-provider-v1",
verifierId: user_id,
idToken,
});