-
Notifications
You must be signed in to change notification settings - Fork 218
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
trwalke
committed
Apr 4, 2024
1 parent
5f2a384
commit c3f3d3a
Showing
2 changed files
with
17 additions
and
17 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -48,22 +48,22 @@ public async Task ChallengeUser_MicrosoftIdFlow_LocalApp_ValidEmailPassword() | |
await ExecuteWebAppCallsGraphFlow(labResponse.User.Upn, labResponse.User.GetOrFetchPassword(), clientEnvVars, TraceFileClassName).ConfigureAwait(false); | ||
} | ||
|
||
[Theory] | ||
[InlineData("https://MSIDLABCIAM6.ciamlogin.com")] // CIAM authority | ||
[InlineData("https://login.msidlabsciam.com/fe362aec-5d43-45d1-b730-9755e60dc3b9/v2.0/")] // CIAM CUD Authority | ||
[SupportedOSPlatform("windows")] | ||
public async Task ChallengeUser_MicrosoftIdFlow_LocalApp_ValidEmailWithCiamPassword(string authority) | ||
{ | ||
var clientEnvVars = new Dictionary<string, string> | ||
{ | ||
{"AzureAd__ClientId", "b244c86f-ed88-45bf-abda-6b37aa482c79"}, | ||
{"AzureAd__Authority", authority}, | ||
{"AzureAd__TenantId", ""}, | ||
{"AzureAd__Domain", ""} | ||
}; | ||
|
||
await ExecuteWebAppCallsGraphFlow("[email protected]", LabUserHelper.FetchUserPassword("msidlabciam6"), clientEnvVars, TraceFileClassNameCiam).ConfigureAwait(false); | ||
} | ||
//[Theory] | ||
//[InlineData("https://MSIDLABCIAM6.ciamlogin.com")] // CIAM authority | ||
//[InlineData("https://login.msidlabsciam.com/fe362aec-5d43-45d1-b730-9755e60dc3b9/v2.0/")] // CIAM CUD Authority | ||
//[SupportedOSPlatform("windows")] | ||
//public async Task ChallengeUser_MicrosoftIdFlow_LocalApp_ValidEmailWithCiamPassword(string authority) | ||
//{ | ||
// var clientEnvVars = new Dictionary<string, string> | ||
// { | ||
// {"AzureAd__ClientId", "b244c86f-ed88-45bf-abda-6b37aa482c79"}, | ||
// {"AzureAd__Authority", authority}, | ||
// {"AzureAd__TenantId", ""}, | ||
// {"AzureAd__Domain", ""} | ||
// }; | ||
|
||
// await ExecuteWebAppCallsGraphFlow("[email protected]", LabUserHelper.FetchUserPassword("msidlabciam6"), clientEnvVars, TraceFileClassNameCiam).ConfigureAwait(false); | ||
//} | ||
|
||
private async Task ExecuteWebAppCallsGraphFlow(string upn, string credential, Dictionary<string, string>? clientEnvVars, string traceFileClassName) | ||
{ | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters