From 0af7c7d115f279109642618a41e57ff0daa519c5 Mon Sep 17 00:00:00 2001 From: Chris Borg Date: Tue, 7 May 2024 09:52:04 +0200 Subject: [PATCH 1/2] Fix: Update docs to include authentication with Facebook Limited Login --- _includes/parse-server/third-party-auth.md | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/_includes/parse-server/third-party-auth.md b/_includes/parse-server/third-party-auth.md index 73415d5c..bb22272d 100644 --- a/_includes/parse-server/third-party-auth.md +++ b/_includes/parse-server/third-party-auth.md @@ -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 v6.5.6 and above and v7.0.1 and above.* + +```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 { @@ -71,6 +82,8 @@ The options passed to Parse Server: } ``` +``` + Learn more about [Facebook login](https://developers.facebook.com/docs/authentication/). ### Twitter `authData` From 0d56f29ddab1edbdd5f845e7052c0deb06250fb1 Mon Sep 17 00:00:00 2001 From: Chris Date: Thu, 16 May 2024 06:01:29 +0200 Subject: [PATCH 2/2] Fix: Update limited login's minimum server requirements docs Co-authored-by: Manuel <5673677+mtrezza@users.noreply.github.com> --- _includes/parse-server/third-party-auth.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/_includes/parse-server/third-party-auth.md b/_includes/parse-server/third-party-auth.md index bb22272d..a7cffb67 100644 --- a/_includes/parse-server/third-party-auth.md +++ b/_includes/parse-server/third-party-auth.md @@ -60,7 +60,7 @@ 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 v6.5.6 and above and v7.0.1 and above.* +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 {