[Proof of concept] HttpClient Improvements #7478
Labels
confidential-client
Issues regarding ConfidentialClientApplications
msal-node
Related to msal-node package
question
Customer is asking for a clarification, use case or information.
Core Library
MSAL Node (@azure/msal-node)
Wrapper Library
Not Applicable
Public or Confidential Client?
Confidential
Description
The current HttpClient is located here. It's overly complicated, and many developers are still having issues with proxies.
Summary of Key Improvements:
The following assumes NodeJS version 18+, where a native
fetch
method has been added. We will still be manually making http requests and creating sockets for proxy tunneling - we want to avoid third-party libraries.New HttpClient class:
Examples
Examples 1: Using a Custom Fetch Agent (Without Proxy)
Example 2: Proxy Usage
Example 3: Using Proxy (with Authentication) with a Custom Tunnel Agent and a Custom Fetch Agent
The text was updated successfully, but these errors were encountered: