Skip to content

Commit

Permalink
edit
Browse files Browse the repository at this point in the history
  • Loading branch information
deyaaeldeen committed Dec 3, 2024
1 parent e3b69c7 commit 150ea62
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ describe("DeviceCodeCredential (internal)", function () {
await cleanup();
});

const scope = "https://vault.azure.net/.default";
const scope = "https://graph.microsoft.com/.default";

it("Authenticates silently after the initial request", async function (ctx) {
// These tests should not run live because this credential requires user interaction.
Expand Down
7 changes: 7 additions & 0 deletions sdk/identity/identity/test/node/msalNodeTestSetup.ts
Original file line number Diff line number Diff line change
Expand Up @@ -102,6 +102,13 @@ export async function msalNodeTestSetup(
// Playback sanitizers
await recorder.addSanitizers(
{
uriSanitizers: [
{
regex: true,
target: `client-request-id=[a-zA-Z0-9-]+`,
value: `client-request-id=${playbackValues.correlationId}`,
},
],
bodySanitizers: [
{
regex: true,
Expand Down

0 comments on commit 150ea62

Please sign in to comment.