-
Notifications
You must be signed in to change notification settings - Fork 218
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
Ability to set Request headers for IDownStreamWebAPI #1063
Comments
MSAL.NET 4.32.0 now supports |
Perfect. Thanks. |
@parwejp reopening because although this is supported by MSAL.NET, we still need to add support in Microsoft.Identity.Web |
Design proposal:
Note that the two properties apply to different calls: the first during the token acquisition, and the second for the web API. |
Is there any workaround for adding HTTP headers to the downstream request until this feature is implemented? |
Duplicate of #891 |
Included in the [1.22.0 release](https://github.com/AzureAD/microsoft-identity-web/releases/tag/1.22.00 |
@parwejp, @jguldal : the documentation is Customizing the headers (or the HttpMessageRequest) when using IDownstreamWebApi |
Dear Team,
I am not able to find out how to send request headers while using get requests on iDownStreamWebAPI. I recently got an error while calling MS graph api to add "ConsistencyLevel = eventual" header.
Microsoft Graph advanced queries Header
Describe alternatives you've considered
Have switched to ITokenAquisition implementation for now but would be nice to use IDownStreamWebAPI for it. As @rollandjb mentioned here would be possible to set request headers with pooled HttpClient with proper isolation. I am no expert but creating HttpRequestMessage could be quick fix.
If it is implemented already, could you please be kind enough to point me out to documentation?
@jennyf19 : Created the feature request as requested.
The text was updated successfully, but these errors were encountered: