Moralis firebase integration, wallet address save

Hi,
I have an issue, when i am connecting wallet by firebase-moralis auth my wallet address is not saving in displayName field in firebase emulator

My authentication function:

const handleAuthentication = async () => {
try {
await signInWithMoralis(moralisAuth);
dispatch(setSelected("summary"));
localStorage.setItem("is_logged", "true");
dispatch( setKeys({ walletAddress: user.displayName, }) );
dispatch(setIsAuthenticated(true));
} catch (err) {
console.log("authentication error", err);
}
};

Hey @fansanah,

Did you get any kind of error here that can give us further clue?

Found the error. Values in moralis-auth.env were wrong.

I see, so is everything now fixed on your end? @fansanah

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