Reputation: 1880
Parse doesn't return users emails in query response, but I need get emails in basic find
query, how can I get it?
Upvotes: 1
Views: 612
Reputation: 5980
Email access is restricted for security reasons, but using a master key will give access.
Instead of
query.find()
add a master key request in the find
query.find({useMasterKey:true})
Upvotes: 1
Reputation: 1769
Emails are not accessible for security reasons by no-one. Only a call with the masterKey can read the emails from the users table.
This is a preventive security measure in order to avoid data leaks.
Upvotes: 5