{"library":"proactive-sharepoint-auth","title":"Proactive SharePoint Auth","description":"A lightweight Node.js library for authenticating against SharePoint Online and retrieving authentication cookies. Version 0.1.0 is the current stable release. It uses device-level credentials (username/password) to obtain a FedAuth cookie that can be used for subsequent SharePoint API calls. The library is minimal, with no external dependencies, but relies on the deprecated SPO login flow. It only supports username-password authentication (no MFA or app-only). Released irregularly, with no updates since initial version.","language":"javascript","status":"maintenance","last_verified":"Sat Apr 25","install":{"commands":["npm install proactive-sharepoint-auth"],"cli":null},"imports":["const proactive = require('proactive-sharepoint-auth'); new proactive.SharePoint.Authenticate(...)","import * as proactive from 'proactive-sharepoint-auth'; new proactive.SharePoint.Authenticate(...)","const { SharePoint } = require('proactive-sharepoint-auth'); new SharePoint.Authenticate(...)"],"auth":{"required":false,"env_vars":[]},"quickstart":{"code":"const proactive = require('proactive-sharepoint-auth');\nconst auth = new proactive.SharePoint.Authenticate(\n  'https://yourtenant.sharepoint.com',\n  'user@tenant.onmicrosoft.com',\n  'your-password'\n);\nauth.authenticate()\n  .then(cookie => {\n    console.log('Authentication cookie:', cookie);\n    // Use cookie for SharePoint API calls\n  })\n  .catch(err => {\n    console.error('Authentication failed:', err);\n  });","lang":"javascript","description":"Authenticates against SharePoint Online and logs the FedAuth cookie.","tag":null,"tag_description":null,"last_tested":null,"results":[]},"compatibility":null}