Node.js + Firebase, error: Error occurred while fetching node details from dkg service

At below situation, error say Error occurred while fetching node details from dkg service is always happen. Please teach me what is this?:pleading_face:

  1. I create verifier using https://web3auth.io/docs/content-hub/guides/firebase
  2. 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 }
  1. 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,
  });

@wtswtyj2020 Welcome Aboard!

I beileve you are using Sapphire Devnet. There is a scheduled maintenance underway, details of which you can read here Please use sapphire_mainnet for production apps and ensure to upgrade to the latest SDK.

1 Like

This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.