what was the payload that was sent?
the data format seems ok, can you paste that info, now it looks like somehow that signature doesn’t validate the eth address
where should i paste?
I mean to paste it here, that payload, as code
{“authData”:{“moralisEth”:{“id”:“0x871e6da1cb69a0d4cb9521ce5f9724d20666138c”,“signature”:“0x199fd70f87efebd68ba8968d6347b37906f0906342efa832d052ef7c5220dc7f04b8938b7bdb988858c892441afd016b27c702dc2eb52d048660cdd88ddfabf81c02”,“data”:“Moralis Authentication\n\nId: dv97YsNDeNoz75XG6K29frnmMxgGA34klwodK3LI:1655811523600”}},"_ApplicationId":“dv97YsNDeNoz75XG6K29frnmMxgGA34klwodK3LI”,"_ClientVersion":“js1.8.0”,"_InstallationId":“444855b6-36b5-4e77-8349-3247d23d7d5f”}
await web3.eth.accounts.recover('Moralis Authentication\n\nId: dv97YsNDeNoz75XG6K29frnmMxgGA34klwodK3LI:1655811523600', '0x199fd70f87efebd68ba8968d6347b37906f0906342efa832d052ef7c5220dc7f04b8938b7bdb988858c892441afd016b27c702dc2eb52d048660cdd88ddfabf81c02');
=>
0x358ffaB48472372812305842E35b1b45cAd70B6c
it looks line it doesn’t return the expected eth address from that signature
It already returning account “0x871e6da1cb69a0d4cb9521ce5f9724d20666138c” with signature
“0x199fd70f87efebd68ba8968d6347b37906f0906342efa832d052ef7c5220dc7f04b8938b7bdb988858c892441afd016b27c702dc2eb52d048660cdd88ddfabf81c02”
what you mean with that? how is returning that account?
yeah thats the account address “0x871e6da1cb69a0d4cb9521ce5f9724d20666138c”
That is not the address that results from checking that signature
but that is my wallet address