Hey everyone!
is there a way to retrieve user specific information from the authenticate method after successful crypto login?
I am using the react native boilerplate’s crypto login with walletconnect and metamask.
const handleCryptoLogin = () => {
authenticate({ connector })
.then(user => {
console.log(user);
console.log(JSON.stringify(user));
if (authError) {
setErrortext(authError.message);
setVisible(true);
} else {
if (isAuthenticated) {
navigation.replace("DrawerNavigationRoutes");
}
}
})
.catch(() => {});
};
I believe I should receive a user object from the Moralis DB but nothing gets returned.
Do you know how I am able to do that?