azure-sdk-for-js icon indicating copy to clipboard operation
azure-sdk-for-js copied to clipboard

[identity] DeviceCodeCredential uses MSALClient

Open maorleger opened this issue 1 year ago • 3 comments

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:

  1. Migrates DeviceCodeCredential to the MSALClient flow
  2. Skips silent authentication for client credential based flows
  3. 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).

maorleger avatar Apr 23 '24 16:04 maorleger

API change check

API changes are not detected in this pull request.

azure-sdk avatar Apr 23 '24 16:04 azure-sdk

/azp run js - identity - tests

maorleger avatar Apr 23 '24 19:04 maorleger

Azure Pipelines successfully started running 1 pipeline(s).

azure-pipelines[bot] avatar Apr 23 '24 19:04 azure-pipelines[bot]