WordPress.com OAuth2 server-side authorization module for Node.js.
The client-side counterpart to this module is
wpcom-oauth-cors
.
$ npm install wpcom-oauth
Return the url that points to first step for get the access token.
Set the code to request the access token.
Start the OAuth2 request to WordPress.com and execute the callback function when it's done.
See the example documentation to run the app
MIT – Copyright 2014 Automattic