Skip to content

Commit

Permalink
Remove fb account kit from docs (parse-community#777)
Browse files Browse the repository at this point in the history
  • Loading branch information
paulovitin authored Oct 23, 2020
1 parent 83a0395 commit 501344c
Showing 1 changed file with 1 addition and 30 deletions.
31 changes: 1 addition & 30 deletions _includes/parse-server/third-party-auth.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ Parse Server supports 3rd party authentication with

* Apple
* Facebook
* Facebook AccountKit
* Github
* Google
* Instagram
Expand Down Expand Up @@ -57,34 +56,6 @@ Note, most of them don't require a server configuration so you can use them dire
```
Learn more about [Facebook login](https://developers.facebook.com/docs/authentication/).

### Facebook AccountKit `authData`
```js
{
"facebookaccountkit": {
"id": "user's Facebook Account Kit id number as a string",
"access_token": "an authorized Facebook Account Kit access token for the user",
// optional, access token via authorization code does not seem to have this in response
"last_refresh": "time stamp at which token was last refreshed"
}
}
```
The options passed to Parse server:
```js
{
auth: {
facebookaccountkit: {
// your facebook app id
appIds: ["id1", "id2"],
// optional, if you have enabled the 'Require App Secret' setting in your app's dashboards
appSecret: "App secret from Account Kit setting"
}
}
}
```
Learn more about [Facebook Account Kit](https://developers.facebook.com/docs/accountkit).

Two ways to [retrieve access token](https://developers.facebook.com/docs/accountkit/accesstokens).

### Twitter `authData`

```js
Expand Down Expand Up @@ -192,7 +163,7 @@ Google oauth supports validation of id_token's and access_token's.

### Configuring Parse Server for LDAP

The [LDAP](https://en.wikipedia.org/wiki/Lightweight_Directory_Access_Protocol) module can check if a
The [LDAP](https://en.wikipedia.org/wiki/Lightweight_Directory_Access_Protocol) module can check if a
user can authenticate (bind) with the given credentials. Optionally, it can also check if the user is in a certain group.
This check is done using a user specified query, called an [LDAP Filter](https://ldap.com/ldap-filters/).
The query should return all groups which the user is a member of. The `cn` attribute of the query results is compared to `groupCn`.
Expand Down

0 comments on commit 501344c

Please sign in to comment.