parse-server icon indicating copy to clipboard operation
parse-server copied to clipboard

Empty authData in user search request

Open dbezborodov opened this issue 10 years ago • 4 comments

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".

dbezborodov avatar May 04 '16 14:05 dbezborodov

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

steven-supersolid avatar May 04 '16 17:05 steven-supersolid

yes, exactly. Thanks.

dbezborodov avatar May 05 '16 08:05 dbezborodov

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

rob-64 avatar May 07 '16 13:05 rob-64

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.

steven-supersolid avatar May 07 '16 19:05 steven-supersolid