Skip to content
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.authenticated doesn't work in Cloud Code #541

Closed
Tux1 opened this issue Feb 21, 2016 · 1 comment
Closed

Parse.User.authenticated doesn't work in Cloud Code #541

Tux1 opened this issue Feb 21, 2016 · 1 comment

Comments

@Tux1
Copy link

Tux1 commented Feb 21, 2016

Maybe you are already aware about this issue that Parse.User.authenticated() in Cloud Code returns false for every call.

Do you confirm ?

@gfosco
Copy link
Contributor

gfosco commented Feb 21, 2016

True, there is no concept of a 'current' user in the node environment. You get the user who made the request in the request object .user property, and can pass the session token to query/save calls to perform operations as a user. This is mentioned at the bottom of the readme. Re-open if I'm missing something.. Thanks.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants