Closed
Description
Hi,
I am logging in an user with parse-server, then returning user.getSessionToken()
to my client.
When using PFUser becomeInBackground
providing token got from server, user successfully login, but [PFUser currentUser].sessionToken
is null.
Could it be because of GET /parse/users/me
doesn't return a sessionToken along with user ?
As seen with VERBOSE=1:
GET /parse/users/me { host: '...',
accept: '*/*',
'x-parse-session-token': 'r:27b08dbdcf8....',
...}
response: <A Parse user, without sessionToken, is this normal ?>
If that's normal, why my PFUser doesn't have sessionToken, which implies that it's not really logged (further request are sent without sessionToken) ?
Thanks