-
-
Notifications
You must be signed in to change notification settings - Fork 4.8k
Closed
Labels
type:bugImpaired feature or lacking behavior that is likely assumedImpaired feature or lacking behavior that is likely assumed
Description
- You've met the prerequisites: https://github.com/ParsePlatform/parse-server/wiki/Parse-Server-Guide#prerequisites.
- You're running the latest version of Parse Server: https://github.com/ParsePlatform/parse-server/releases
- You've searched through existing issues: https://github.com/ParsePlatform/Parse-Server/issues?utf8=%E2%9C%93&q=is%3Aissue Chances are that your issue has been reported or resolved before.
- You have filled out every section below. Issues without sufficient information are more likely to be closed.
Description
We are still using parse server 2.2.6 since all upgrade attempts since this point have broken the facebook integration, as seen in #1579 and #1846.
This has reportedly been fixed, but for me Parse.FacebookUtils.isLinked(user)
still returns false in all versions above 2.2.6 (tried upgrading to 2.2.16 today).
I also tried querying to get the user from the server rather than the request as suggested in #1846, but still no luck :(
Steps to reproduce
- Login into Facebook / Parse in Unity
- Call following function on Parse
Parse.Cloud.define('checkLogin', function(request, response)
{
if (Parse.FacebookUtils.isLinked(request.user))
{
console.log('facebook linked');
response.success('facebook linked');
}
else
{
console.log('facebook not linked');
response.error('facebook not linked');
}
});
Expected Results
Parse.FacebookUtils.isLinked(request.user)
returns true like it does in 2.2.6
Actual Outcome
Parse.FacebookUtils.isLinked(request.user)
returns false when server is on higher version (for example 2.2.16)
Environment Setup
- Server
- Heroku (Hobby Dyno)
- parse-server version: 2.2.16
- Database
- mLab (Heroku Addon)
- MongoDB version: I have '2.1.18' in package.json, which we did to fix an error where we would always timeout (All Requests Receive Timeout Error #1855), but when I go to mLab it says 3.0.10?
Logs/Trace
Jul 20 00:31:02 torque-dev app/web.1: verbose: POST /parse/functions/checkLogin { host: 'torque-dev.herokuapp.com',
Jul 20 00:31:02 torque-dev app/web.1: connection: 'close',
Jul 20 00:31:02 torque-dev app/web.1: 'user-agent': 'UnityPlayer/5.3.5p4 (http://unity3d.com)',
Jul 20 00:31:02 torque-dev app/web.1: accept: '*/*',
Jul 20 00:31:02 torque-dev app/web.1: 'accept-encoding': 'identity',
Jul 20 00:31:02 torque-dev app/web.1: 'content-type': 'application/json',
Jul 20 00:31:02 torque-dev app/web.1: 'x-parse-app-build-version': '1.8.4',
Jul 20 00:31:02 torque-dev app/web.1: 'x-parse-app-display-version': 'leagueofmonkeys.torqueburnout',
Jul 20 00:31:02 torque-dev app/web.1: 'x-parse-application-id': 'torque-burnout',
Jul 20 00:31:02 torque-dev app/web.1: 'x-parse-client-version': 'net-unity1.7.0.0',
Jul 20 00:31:02 torque-dev app/web.1: 'x-parse-installation-id': 'dff66513-b624-4612-8a17-e01365907e91',
Jul 20 00:31:02 torque-dev app/web.1: 'x-parse-os-version': 'MS-7885 (MSI)',
Jul 20 00:31:02 torque-dev app/web.1: 'x-parse-session-token': 'r:cd4615b72566d0fb5d1466f6f1d01942',
Jul 20 00:31:02 torque-dev app/web.1: 'x-parse-windows-key': '90b8148d-627c-4c25-8f2e-e3c02acd1f85',
Jul 20 00:31:02 torque-dev app/web.1: 'x-unity-version': '5.3.5p4',
Jul 20 00:31:02 torque-dev app/web.1: 'x-request-id': 'b9a066e0-0008-48d0-a7c9-4fb2e5683d3c',
Jul 20 00:31:02 torque-dev app/web.1: 'x-forwarded-for': '27.32.138.126',
Jul 20 00:31:02 torque-dev app/web.1: 'x-forwarded-proto': 'http',
Jul 20 00:31:02 torque-dev app/web.1: 'x-forwarded-port': '80',
Jul 20 00:31:02 torque-dev app/web.1: via: '1.1 vegur',
Jul 20 00:31:02 torque-dev app/web.1: 'connect-time': '1',
Jul 20 00:31:02 torque-dev app/web.1: 'x-request-start': '1468999861570',
Jul 20 00:31:02 torque-dev app/web.1: 'total-route-time': '0',
Jul 20 00:31:02 torque-dev app/web.1: 'content-length': '2' } {}
Jul 20 00:31:02 torque-dev app/web.1: facebook not linked
Jul 20 00:31:02 torque-dev app/web.1: verbose: error: code=141, message=facebook not linked
Jul 20 00:31:02 torque-dev heroku/router: at=info method=POST path="/parse/functions/checkLogin" host=torque-dev.herokuapp.com request_id=b9a066e0-0008-48d0-a7c9-4fb2e5683d3c fwd="27.32.138.126" dyno=web.1 connect=1ms service=551ms status=400 bytes=533
Metadata
Metadata
Assignees
Labels
type:bugImpaired feature or lacking behavior that is likely assumedImpaired feature or lacking behavior that is likely assumed