Skip to content

Commit ce9a1dc

Browse files
authored
fix: Update docs to include authentication with Facebook Limited Login (#948)
1 parent 867f002 commit ce9a1dc

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed

_includes/parse-server/third-party-auth.md

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -60,6 +60,17 @@ Note, most of them don't require a server configuration so you can use them dire
6060
}
6161
```
6262

63+
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.*
64+
65+
```jsonc
66+
{
67+
"facebook": {
68+
"id": "user's Facebook id number as a string",
69+
"token": "a JWT token from Facebook SDK limited login",
70+
}
71+
}
72+
```
73+
6374
The options passed to Parse Server:
6475
```js
6576
{
@@ -71,6 +82,8 @@ The options passed to Parse Server:
7182
}
7283
```
7384

85+
```
86+
7487
Learn more about [Facebook login](https://developers.facebook.com/docs/authentication/).
7588
7689
### Twitter `authData`

0 commit comments

Comments
 (0)