async function login() {
let message = 'Hello, You are logging in : ' + (Math.random() + 1).toString(36).substring(2);
Moralis.Web3.getSigningData = () => message;
var walletProvider = "walletconnect";
if (typeof web3 !== 'undefined') {
walletProvider = "metamask";
}
Moralis.Web3.authenticate({
provider: walletProvider,
chainId: 56
}).then(function(user) {
authenticate(user.id, user.get('ethAddress'))
});
}
1 Like
Done. Please check…
Seems to me that this is a bug.
I’ll let you know when it will be fixed
1 Like
When can i expect the fix to be released?
Today or Tomorrow.
I’ll let you know when it will be fixed
2 Likes
seems a bug to me too. Broken since a couple of days ago in all my devices…
Any updates? When can this be fixed?
Updated in latest release, this is the new way of doing this
Moralis.authenticate({signingMessage:"hello"})
1 Like
thanks. it worked on latest release.
2 Likes
Yes it works, I have another issue with walletconnect . I am opening a new thread for that.