forked from parse-community/parse-server
-
Notifications
You must be signed in to change notification settings - Fork 0
OAuth
Héctor Ramos edited this page Apr 22, 2016
·
2 revisions
Parse Server supports 3rd party authentication with
- Meetup
Configuration options for these 3rd-party modules is done with the oauth
option passed to Parse Server:
{
oauth: {
twitter: {
consumer_key: "", // REQUIRED
consumer_secret: "" // REQUIRED
},
facebook: {
appIds: "FACEBOOK APP ID"
}
}
}
It is possible to leverage the OAuth support with any 3rd party authentication that you bring in.
{
oauth: {
my_custom_auth: {
module: "PATH_TO_MODULE" // OR object,
option1: "",
option2: "",
}
}
}
On this module, you need to implement and export those two functions validateAuthData(authData, options) {}
and validateAppId(appIds, authData) {}
.
For more information about custom auth please see the examples: