parse-server icon indicating copy to clipboard operation
parse-server copied to clipboard

Parse Server session is NOT created after login

Open Aziz38 opened this issue 10 years ago • 4 comments

We have migrated our production app from hosted Parse to Parse Server and during testing we have encountered that our cloud functions are not working properly. After research we have found that session for our authenticated users is not saved to Session class on database by Parse SDK automatically. When we signup new user, session is created and it is saved to cloud. We can see it from Parse Server dashboard. But when we sign out that user and sign in again, especially after sign in, session is created but it is not saved to cloud and we cant see it from dashboard. It seems like it remains on local. Thats why our cloud code is not running, because request.user on all cloud functions is null and user is not authorized. We are using latest Parse Server with version 2.2.14 and revocable sessions. We really appreciate your effort to make migration really smooth and thank you from our company.

Aziz38 avatar Jun 30 '16 12:06 Aziz38

Please refer to this issue for an example of a great bug report.

You may use Server Fault for questions about managing Parse Server.

For code-level and/or implementation-related questions or technical support, please refer to Stack Overflow.

hramos avatar Jun 30 '16 17:06 hramos

@Aziz38 can you please update to parse latest version and provide the logs when running with VERBOSE=1 env variable set? That will help us debug your issue.

flovilmart avatar Sep 03 '16 18:09 flovilmart

This is solved. Thank you for your attention anyway.

Aziz38 avatar Sep 05 '16 06:09 Aziz38

@Aziz38 Did you find the cause of the issue? How did you solve it?

yingdongzhang avatar Jan 06 '17 02:01 yingdongzhang