The main project my company is working on is an AngularJS web app that calls a C#.Net REST API for all the data. The users of this application are all logged into Windows computers that are tied to an Active Directory. This means that all authentication is handled by the OS, since all credentials are automatically sent by the web browser and handled by IIS.
My newest task is to have a different NodeJS application call the REST service and do some stuff with the data. Unfortunately even when I am logged onto the computer with proper Active Directory credentials, none of it gets sent along with the REST requests, which results in a 401.2 error from IIS. What is the proper way to make sure the already existing Active Directory credentials are sent with the NodeJS REST Request?