I tried axios get method to link but get error unauthorized
that error should be related to the application id, maybe you have to provide it with a different name or maybe that is not the correct application id
OK , thank bro
I will try with appid production
That is appId I set in parse-server
Aaa, that is Moralis Key not app parser server
it should be the app id there, not the api key, when you call a cloud function
the url should be different, not http://localhost:1337/server
, the url should point to the cloud function that you want to call
I mean the end of the url should contain the cloud function name, the start of the url is not the issue
Im done with cloud functions but got error with verify function.
I post to url/users for authentication and got error:
Why I got error?
I signature from client and send to server for verify got error
I donβt know, it looks like you are close. Try to log th parameters sent to verify function
Those are not the parameters, the parameters are the message and the signature
That is signature and data send to verify
I send to ```
https://YOUR.PARSE-SERVER.HERE/parse/users
with authData
const authData = {
id: addressLogin,
signature: signature,
data: message,
};
For Moralis.auth.verify function try to log the parameters
Try to log the parameters separately just to make sure that they have the value that you expect. You logged there an entire object and not each parameter one by one.
that timestamp for Issued At seems to be from the past, from few hours ago, you are trying with the same message multiple times?