Skip to content
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

docs: Update docs to include authentication with Facebook Limited Login #948

Merged
merged 3 commits into from
May 16, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
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