I’m new here at Moralis and I got some doubts, hope you can help me.
We are developing a NFT game, I’m working on server side with Moralis server, so, I implemented some cloud functions, and I’m having problems with them.
How can I authenticate the user who make the request? I’m using masterKey to access to User Data on class _User, because with req.user used directly, I can’t read his data. Besides that, it’s better to implement a class “UserInfo” to set all not sensitive data?
Could payments/transfer request be implemented on server side ? How?