-
Notifications
You must be signed in to change notification settings - Fork 2.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[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.
Comments
Robbie-Microsoft
added
question
Customer is asking for a clarification, use case or information.
feature-unconfirmed
labels
Dec 20, 2024
microsoft-github-policy-service
bot
added
the
Needs: Attention 👋
Awaiting response from the MSAL.js team
label
Dec 20, 2024
github-actions
bot
added
confidential-client
Issues regarding ConfidentialClientApplications
msal-node
Related to msal-node package
labels
Dec 20, 2024
Robbie-Microsoft
removed
Needs: Attention 👋
Awaiting response from the MSAL.js team
feature-unconfirmed
labels
Dec 20, 2024
This was referenced Dec 20, 2024
Some unstructured thoughts:
|
@xirzec knows a lot more about Azure SDKs httpClient than myself but I can offer a few more thoughts / questions: Constructor changes
Methods
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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: