Skip to content

access SharePoint using client credentials "apponly" from nodejs applications

Notifications You must be signed in to change notification settings

amrfouad22/SharePoint-apponly-node

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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)

About

access SharePoint using client credentials "apponly" from nodejs applications

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published