Skip to content
access SharePoint using client credentials "apponly" from nodejs applications
Branch: master
Clone or download
Amr Fouad
Amr Fouad update readme
Latest commit 0513576 Oct 21, 2018
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.gitignore
README.md
SharePoint.js
index.js
package.json
result.png

README.md

SharePoint-apponly-node

access SharePoint using client credentials "apponly" from nodejs applications
run npm install sharepoint-apponly-node --save

  1. Require the sharepoint-apponly module

var sharepoint=require('sharepoint-apponly-node'); 2. Execute call to getSharePointAppOnlyAccessToken and get the token response body in the callback sharepoint.getSharePointAppOnlyAccessToken('https://yoursubdomain.sharepoint.com', 'YourClientId','YourClientSecret',function(response){ console.log(response); });
the result will be something like ![Client Credentials Token Response](./result.png)
You can’t perform that action at this time.