-
Notifications
You must be signed in to change notification settings - Fork 850
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(azidentity): do not strip away request headers in doForClient
Some authorities might require certain headers to be passed. For example, in our dSTS auth flow, the request form contains client_info, which needs to be accompanied by X-Client-SKU=MSAL.Go header, else the API call produces AADSTS501791: Client_info is only supported for MSAL/ADAL, please ensure that MSAL/ADAL custom headers are being sent. The `doForClient` function creates new `runtime.Request` from the incoming request, but it fails to propagate the respective headers. This commits is addressing that. Signed-off-by: HandsomeJack <[email protected]>
- Loading branch information
1 parent
85abd23
commit 7a87ba0
Showing
3 changed files
with
16 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters