Hello, I was able to make a button that allows me to login with my Phantom wallet but when I click the button to authenticate I get this code.
Failed to load resource: the server responded with a status of 403 ()
https://wxr6unnrnkco.usemoralis.com:2053/server/users
This is my code
const login = async () => {
if (!isAuthenticated) {
await authenticate({type: "sol"})
.then(function (user) {
console.log("logged in user:", user);
console.log("isauthenticated:", isAuthenticated);
//console.log(user!.get("ethAddress"));
})
.catch(function (error) {
console.log(error);
});
}
}
I followed this tutorial https://moralis.io/how-to-authenticate-solana-users-with-the-phantom-wallet/