-
-
Notifications
You must be signed in to change notification settings - Fork 4.8k
User has become invalid after parse server restarted #258
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
Though I forgot to mention which API I used, it was REST API. |
getUserAndRoleACL fetches the array of roles, and then pushes the users objectId on to it. That looks correct. But this does sound like an issue.. will look in to it. |
When there are no users in cache, user object is got by executing RestQuery.execute. |
Should be fixed by #374 which will be in 2.1.3, or you can pull the latest master. Please open a new issue if you still have problems. Thanks. |
I confirmed that the user which signed up via cloud code could access all cloud function and objects, even after it logged out and logged in again with renewing its session token.
But after restarting the parse server, all users seem to be invalid.
Though an user can log in the server and get a new session after the server restarted , the server responds "unauthorized" when the user calls any cloud code like "query.find".
(query.find fails in spite of being passed the new session token explicitly)
I cannot restart the server? or need any options?
Of course, this does not occur with Parse.com, although I don't know if Parse.com restarts or not.
The text was updated successfully, but these errors were encountered: