Skip to content

This module allows to register users of installations of Wordpress in Parse-Server

Notifications You must be signed in to change notification settings

enriquecerda/parse-server-wordpress-login

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 

Repository files navigation

parse-server-wordpress-login

This module allows to register users of installations of Wordpress in Parse-Server for authDataManager

Include these files in the authDataManager directory of parse-server "parse-server/lib/authDataManager" and modify your "index.js" the directory "authDataManager" with the following:

var wordpress = require("./wordpress");

var providers = {

facebook: facebook,

instagram: instagram,

... ...

wordpress: wordpress

};

En your "index.js" de your parse-server include the option "oauth" in your middleware.

var api = new ParseServer(

{

...

...

oauth: {

...

...

wordpress: [

		{
		
			url: "http://yourWordpressURL",	// REQUIRED	
			
			consumer_key: "lkbPsEotBkGn", // REQUIRED
			
			consumer_secret: "QpLPurXFWAbciQag4hE02EWc3jXVvh5DiWySN0hnVgE97vWF" // REQUIRED
			
		}
		
	]

}

}

);

About

This module allows to register users of installations of Wordpress in Parse-Server

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published