On frontend side working well so far, but when verifying on server-side, I’m having an error “Non-base58 character” what did I do wrong? Please I’ve been stuck for 2 days and I even don’t know where the error came from which params :
I hope you are doing well. Could you please share more information about the web3auth packages you are using and some code snippets so I can provide more in-depth help?
Hello @TomTom , thank you very much for your response. For verifying signature on backend, I use this package @web3auth/sign-in-with-solana, and then I do the verify like this base on the documentation
This is the payload comes from the frontend :
{
"payload": {
"domain": "localhost:4200",
"address": "EwwEA9aegiNB9G9PrXycXBHW49LBhkHSuVwLmhHpfaJq",
"statement": "Welcome to Otaku! Click to sign in and accept our Terms and Conditions (http://localhost:4200/terms) and Privacy Policy (http://localhost:4200/privacy). This request will not trigger a blockchain transaction or cost any gas fees.",
"uri": "http://localhost:4200",
"version": "1",
"chainId": 1,
"nonce": "4b8b8aa13500741d",
"issuedAt": "2024-05-15T07:44:19.516Z"
},
"signature": "P/VdiluFpFE8GAJ5iG8yMWRxWmG9xoHp4dH4YvzliTfuOKn7GzJHjRoBQIkx+cooFgyJNAOiH8Mypna5zgvlAQ==",
"isEvm": false,
"header": {
"t": "sip99"
}
}