Sharepoint authentication using REST
This module will provide you the necessary FedAuth
and rtFa
cookies along with request digest
value using which you will be able to call Sharepoint Online's REST endpoint.
Installation
$ npm install sharepoint-auth
Usage
var Sharepoint = require; var options = Sharepoint
See index.js
for example.
Pass the retrieved FedAuth
and rtFa
as shown below in headers
headers: