From 774c483548b046d273369adeb7af8b5d8dc4dee9 Mon Sep 17 00:00:00 2001 From: Diamond Lewis Date: Wed, 24 Jul 2019 14:19:30 -0500 Subject: [PATCH 1/3] Documentation for Sign In With Apple --- _includes/parse-server/third-party-auth.md | 27 ++++++++++++++++++++++ 1 file changed, 27 insertions(+) diff --git a/_includes/parse-server/third-party-auth.md b/_includes/parse-server/third-party-auth.md index c1ad827dd..858b3ffe2 100644 --- a/_includes/parse-server/third-party-auth.md +++ b/_includes/parse-server/third-party-auth.md @@ -2,6 +2,7 @@ Parse Server supports 3rd party authentication with +* Apple * Facebook * Facebook AccountKit * Github @@ -119,6 +120,32 @@ Learn more about [Twitter login](https://developer.twitter.com/en/docs/twitter-f } ``` +### Apple `authData + +As of Parse Server 3.5.0 You can [Sign In With Apple](https://developer.apple.com/sign-in-with-apple/get-started/) +``` +{ + "apple": { + "id": "jwt token for user", // required, used for validation + "access_token": "an authorized access token for the user", // optional + } +} +``` + +#### Configuring parse-server for Apple + +```js +{ + auth: { + apple: { + client_id: "", // optional (for extra validation), use the Service ID from Apple. + }, + } +} +``` + +Learn more about [Sign In With Apple](https://developer.okta.com/blog/2019/06/04/what-the-heck-is-sign-in-with-apple) + ### Github `authData` ```js From f5444cdc1211c3b73ecabfcc159b65cbf0417c73 Mon Sep 17 00:00:00 2001 From: Diamond Lewis Date: Wed, 24 Jul 2019 14:21:09 -0500 Subject: [PATCH 2/3] fix markdown --- _includes/parse-server/third-party-auth.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/_includes/parse-server/third-party-auth.md b/_includes/parse-server/third-party-auth.md index 858b3ffe2..59b5a063b 100644 --- a/_includes/parse-server/third-party-auth.md +++ b/_includes/parse-server/third-party-auth.md @@ -123,7 +123,8 @@ Learn more about [Twitter login](https://developer.twitter.com/en/docs/twitter-f ### Apple `authData As of Parse Server 3.5.0 You can [Sign In With Apple](https://developer.apple.com/sign-in-with-apple/get-started/) -``` + +```js { "apple": { "id": "jwt token for user", // required, used for validation From 4d92a36915082305b51d7617418721bf668e7a33 Mon Sep 17 00:00:00 2001 From: Diamond Lewis Date: Thu, 25 Jul 2019 09:03:23 -0500 Subject: [PATCH 3/3] cleanup --- _includes/parse-server/third-party-auth.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/_includes/parse-server/third-party-auth.md b/_includes/parse-server/third-party-auth.md index 59b5a063b..b36b26203 100644 --- a/_includes/parse-server/third-party-auth.md +++ b/_includes/parse-server/third-party-auth.md @@ -120,9 +120,9 @@ Learn more about [Twitter login](https://developer.twitter.com/en/docs/twitter-f } ``` -### Apple `authData +### Apple `authData` -As of Parse Server 3.5.0 You can [Sign In With Apple](https://developer.apple.com/sign-in-with-apple/get-started/) +As of Parse Server 3.5.0 you can use [Sign In With Apple](https://developer.apple.com/sign-in-with-apple/get-started/). ```js { @@ -133,7 +133,7 @@ As of Parse Server 3.5.0 You can [Sign In With Apple](https://developer.apple.co } ``` -#### Configuring parse-server for Apple +#### Configuring parse-server for Sign In with Apple ```js { @@ -145,7 +145,7 @@ As of Parse Server 3.5.0 You can [Sign In With Apple](https://developer.apple.co } ``` -Learn more about [Sign In With Apple](https://developer.okta.com/blog/2019/06/04/what-the-heck-is-sign-in-with-apple) +Learn more about [Sign In With Apple](https://developer.okta.com/blog/2019/06/04/what-the-heck-is-sign-in-with-apple). ### Github `authData`