I created the signUp function for my application to call and the Parse.com JS code for the user signature.
Of course, the user will appear in the database. Hell, I even received a sent letter for verification (which was much more complicated than it should be). This is a parameter in the Settings section of the main parsing backend, not something that is automatically programmed).
Now I'm trying to get sessionToken from a newly registered user. Returning the "user" object to the success of registration and verification, I do not see the "sessionToken". I also do not see sessionToken in the user database ...
Can someone give me a code that will return sessionToken?
Here is the relevant code:
user.signUp(null, { success: function(user) { response.success(user); }, error: function(user, error) { alert("Error: " + error.code + " " + error.message); } });
I do not get sessionToken here. Where do I get this from?
source share