Skip to content
Héctor Ramos edited this page Apr 22, 2016 · 2 revisions

Parse Server supports 3rd party authentication with

  • Twitter
  • Meetup
  • LinkedIn
  • Google
  • Instagram
  • Facebook

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"
   }
  }
}

Custom authentication

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:

Clone this wiki locally