Hello,
Note - when I say refreshed the dapp/page this also means authenticated was called again.
I started with the basic authentication sample. It worked but I noticed that if I refresh the page a few time every other authentication call fails.
I am working on my own dapp for the hacathon and was able to login at first. However now everytime I try to authenticate I receive a 400 with err: {āmessageā:āInvalid session tokenā,ācodeā:209}
In Moralis I deleted the session record for the user and tried again - same result.
In Moralis I re-started the server and refreshed the dapp - same result.
I logged out of Metamask, logged back in and refreshed the dapp - same result.
So in Moralis I deleted all the rows associated with the ethAddress and refreshed the dapp - IT WORKED! but I had an error in the way I was processing the result object so I refreshed the page and received the {āmessageā:āInvalid session tokenā,ācodeā:209} error again.
How can I call authenticate again without receiving the error? Is there a different path for refreshing the information - or checking that it is already authenticated?
Thank you,
David