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.
npm install proactive-sharepoint-authVerified import paths — ran on the pinned version, not inferred.
Authenticates against SharePoint Online and logs the FedAuth cookie.
Ensure correct casing: proactive.SharePoint.Authenticate
Migrate to @pnp/nodejs or msal-node with proper OAuth 2.0 flows.
Set the cookie header as 'Cookie: FedAuth=' + cookie instead of JSON.stringify(cookie).
Use correct require: const proactive = require('proactive-sharepoint-auth'); and access proactive.SharePoint.Authenticate.Run npm install proactive-sharepoint-auth --save
Verify username/password. For MFA-enabled accounts, use an alternative auth method (e.g., app-only).
No dependency data recorded yet.