From 1bf9cc20e2a3622f8443a012b3503ade83777286 Mon Sep 17 00:00:00 2001 From: Jean-Marc Prieur Date: Thu, 7 Nov 2024 20:01:02 -0800 Subject: [PATCH] Fixing the ROPC test that broke the build --- tests/E2E Tests/TokenAcquirerTests/TokenAcquirer.cs | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/tests/E2E Tests/TokenAcquirerTests/TokenAcquirer.cs b/tests/E2E Tests/TokenAcquirerTests/TokenAcquirer.cs index aa48492a7..4d1923cab 100644 --- a/tests/E2E Tests/TokenAcquirerTests/TokenAcquirer.cs +++ b/tests/E2E Tests/TokenAcquirerTests/TokenAcquirer.cs @@ -103,11 +103,8 @@ public async Task AcquireToken_ROPC_CCAasync() ITokenAcquirer tokenAcquirer = tokenAcquirerFactory.GetTokenAcquirer( authority: "https://login.microsoftonline.com/organizations", - clientId: "88f91eac-c606-4c67-a0e2-a5e8a186854f", - clientCredentials: new[] - { - CertificateDescription.FromStoreWithDistinguishedName("CN=LabAuth.MSIDLab.com") - }); + clientId: "9a192b78-6580-4f8a-aace-f36ffea4f7be", + clientCredentials: s_clientCredentials); var user = ClaimsPrincipalFactory.FromUsernamePassword(labResponse.User.Upn, labResponse.User.GetOrFetchPassword());