Skip to content

Commit

Permalink
fix: Update docs to include authentication with Facebook Limited Login (
Browse files Browse the repository at this point in the history
  • Loading branch information
chriscborg committed May 16, 2024
1 parent 867f002 commit ce9a1dc
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions _includes/parse-server/third-party-auth.md
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,17 @@ Note, most of them don't require a server configuration so you can use them dire
}
```

With Facebook's iOS SDK 17, you are required to implement Facebook Limited Login. If the user does not allow tracking through Apple's App Tracking Transparency, then the Facebook returns a JWT token instead of an access token. Therefore, in your app you would need to check if tracking is allowed or not and pass the relevant tokens. If your app does not receive an access token, then you will need to pass the below instead. *Available on Parse Server >= 6.5.6 < 7 and >=7.0.1.*

```jsonc
{
"facebook": {
"id": "user's Facebook id number as a string",
"token": "a JWT token from Facebook SDK limited login",
}
}
```

The options passed to Parse Server:
```js
{
Expand All @@ -71,6 +82,8 @@ The options passed to Parse Server:
}
```

```
Learn more about [Facebook login](https://developers.facebook.com/docs/authentication/).
### Twitter `authData`
Expand Down

0 comments on commit ce9a1dc

Please sign in to comment.