azure-sdk-for-js
azure-sdk-for-js copied to clipboard
[identity] DeviceCodeCredential uses MSALClient
Packages impacted by this PR
@azure/identity
Issues associated with this PR
Resolves #29377
Describe the problem that is addressed by this PR
This PR makes the following changes to the Identity library:
- Migrates DeviceCodeCredential to the MSALClient flow
- Skips silent authentication for client credential based flows
- Allows passing disableAutomaticAuthentication as an option param instead of during client construction
The reason this is important and exciting is because DeviceCodeCredential is the first PublicClientApplication based flow that is being migrated to MSALClient!
Checklists
- [x] Added impacted package name to the issue description.
- [x] Does this PR need any fixes in the SDK Generator?** (If so, create an Issue in the Autorest/typescript repository and link it here.)
- [x] Added a changelog (if necessary).
API change check
API changes are not detected in this pull request.
/azp run js - identity - tests
Azure Pipelines successfully started running 1 pipeline(s).