-
-
Notifications
You must be signed in to change notification settings - Fork 4.8k
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
Parse.User.current not working? Do i use something else? #2020
Comments
You'll need to switch to using an explicit session token in your queries if you make to make queries in cloud code as a specific user. See the migration guide: https://github.com/ParsePlatform/Parse-Server/wiki/Compatibility-with-Hosted-Parse#Cloud-Code |
Not trying to do cloud code, just logging in on a website |
This repo is for issues in Parse Server, not for help building your app. That said, you can't use current user in a node environment. Imagine what would happen when one person hits the What you should do instead is store a session token on the client, and use that session token in your requests. |
is there some guide on this? i do have parse-express-cookie-sesion |
here is what im doing, the app.post works for login, but when it goes to app.get, Parse.User.current is null
The text was updated successfully, but these errors were encountered: