Skip to content

Empty authData in user search request #1703

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

Closed
dbezborodov opened this issue May 4, 2016 · 4 comments
Closed

Empty authData in user search request #1703

dbezborodov opened this issue May 4, 2016 · 4 comments

Comments

@dbezborodov
Copy link

parse-server is not returning authData field in user search requests. Using v.2.2.7 POST request to _User class:
{"where":{"objectId":"xxxxxxx"},"limit":200,"order":"-createdAt,-createdAt","_method":"GET"}

returns something like:
{"results":[{"objectId":"xxxxxxx","createdAt":"2015-12-03T08:41:50.980Z","updatedAt":"2016-05-03T13:09:06.697Z","username":"xxxxxxxxxxx"}]}

but original parse API also returns authData:
{"results":[{"authData":{"facebook":{"access_token":"<access_token>","expiration_date":"2016-07-02T07:16:46.815Z","id":""}},"createdAt":"2015-12-03T08:41:50.980Z","username":"xxxxxxxxxxx"}]}

Both parse-server and parse API use the same Mongo database.
This issue makes parse-dashboard always showing authData as "undefined".

@steven-supersolid
Copy link
Contributor

I think this is a duplicate of #1568
If so, it has been fixed in the next release

@dbezborodov
Copy link
Author

yes, exactly.
Thanks.

@rob-64
Copy link

rob-64 commented May 7, 2016

@dbezborodov @steven-supersolid is there a timeline for the next release? (sorry, dont know where else to ask)

@steven-supersolid
Copy link
Contributor

I can't imagine it will be too much longer due to the last release date being some time ago - would be really useful to know the release strategy going forward.

I highly recommend you fork the repo though. You can then make a pre-2.2.8 branch, build and commit the lib folder, then use your fork/branch as an git npm dependency. This will enable you to apply other fixes as required.

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

3 participants