Description
I ran into a very strange problem.
Everything works fine until I connect with a second device (different user) to the server via facebook login.
The moment I login with the second device the first session somehow gets lost internally.
I wrote a short cloud function for testing:
Parse.Cloud.define("ping", function(request, response) {
response.success("PONG. request: "+JSON.stringify(request));
});
The response is the full user:
(PONG. request: {"params":{},"master":false,"user":{ <FULL USER DATA>},"installationId":"eb4c6ae0-b187-482f-b43e-4db7186c0366"})
The moment I login in with the second device the response becomes:
(PONG. request: {"params":{},"master":false,"installationId":"eb4c6ae0-b187-482f-b43e-4db7186c0366"})
Of course from this point on nothing works anymore for the first user.
I am not using any Parse.Cloud.useMasterKey()
calls anywhere.
Any idea what can cause this?