Skip to content

Login with Facebook: Timeout #376

Description

@nitrag

I'm using the JS SDK. Logging into Facebook works fine when connected to Parse Hosted API. When I switch the serverURL to my parse-server it "times out". I've checked and this is what I'm sending:

POST /1/users { host: 'asdf-parse.elasticbeanstalk.com',
...
{
    "authData": {
        "facebook": {
            "id": "xxx",
            "access_token": "xxx",
            "expiration_date": "2016-04-11T18:29:17.100Z"
        }
    },
    "_ApplicationId": "xxx",
    "_JavaScriptKey": "xxx",
    "_ClientVersion": "js1.5.0",
    "_InstallationId": "xxx"
}

I've modified the parse-server start script to dump the options so I can verify the parameters being used (ENV variables) are being set correctly. I've 'xxx' for privacy purposes.

> parse-server-example@1.0.0 start /var/app/current
> node index.js
{
    "databaseURI": "mongodb://xxx",
    "cloud": "/var/app/current/cloud/main.js",
    "masterKey": "xxx",
    "appId": "xxx",
    "fileKey": "xxx",
    "facebookAppIds": "1548670358725xxx",
    "filesAdapter": {
        ...
    }
}

There's no response object. Logging in with a username/password works fine and so do subsequent API requests.

Thanks!

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions