I am trying to consume via Rest the Ms Project API from a Node client, I was searching and found that it's possible to get an access token from the ACS (Azure Access Control) and use this in the rest requests, well, if I am logged in with email and password in the SharePoint, I do can get data from MsProject listed in XMl or Json on the browser, but I can't figure out how to do the api authentication just with email and password. I was wondering if there is any other way to get an access token to my Ms Project or other services in my SharePoint other than AD to authenticate in the SharePoint via API? if so, how could I? Thanks in advance!
For SharePoint Online and username + password authentication, you can try using my sp-request module. It's for SharePoint primarily, however, works for MS Project as well.