Skip to content
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

Adopt msal for non-managed identity credentials #16243

Merged
merged 13 commits into from
Dec 10, 2021
Merged

Adopt msal for non-managed identity credentials #16243

merged 13 commits into from
Dec 10, 2021

Conversation

chlowell
Copy link
Member

Removes aad_identity_client.go and reimplements the credentials that were using it with MSAL clients. Adds recorded tests for these credentials so we don't lose all our test coverage. Closes #14920, closes #15632, closes #15973, closes #16118

sdk/azidentity/go.mod Outdated Show resolved Hide resolved
}

func (p pipelineAdapter) Do(r *http.Request) (*http.Response, error) {
req, err := runtime.NewRequest(r.Context(), r.Method, r.URL.String())
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It's unfortunate that we have to do this (I feel like I had to do this elsewhere too). Maybe we need a runtime.WrapRequest that creates a runtime.Request from an existing http.Request.

@chlowell chlowell merged commit 303951e into main Dec 10, 2021
@chlowell chlowell deleted the chlowell/msal branch December 10, 2021 16:39
jhendrixMSFT pushed a commit to jhendrixMSFT/azure-sdk-for-go that referenced this pull request Jan 12, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
3 participants