Skip to content

Commit ae4211e

Browse files
authored
Lozensky/add fmi path (#3247)
* Add fmi check when using MSAL's AcquireTokenForClient
1 parent 2b8fbf0 commit ae4211e

File tree

2 files changed

+6
-2
lines changed

2 files changed

+6
-2
lines changed

Directory.Build.props

+2-2
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@
8787

8888
<PropertyGroup Label="Common dependency versions">
8989
<MicrosoftIdentityModelVersion Condition="'$(MicrosoftIdentityModelVersion)' == ''">8.5.0</MicrosoftIdentityModelVersion>
90-
<MicrosoftIdentityClientVersion Condition="'$(MicrosoftIdentityClientVersion)' == ''">4.67.2</MicrosoftIdentityClientVersion>
90+
<MicrosoftIdentityClientVersion Condition="'$(MicrosoftIdentityClientVersion)' == ''">4.68.0</MicrosoftIdentityClientVersion>
9191
<FxCopAnalyzersVersion>3.3.0</FxCopAnalyzersVersion>
9292
<SystemTextEncodingsWebVersion>4.7.2</SystemTextEncodingsWebVersion>
9393
<AzureSecurityKeyVaultSecretsVersion>4.6.0</AzureSecurityKeyVaultSecretsVersion>
@@ -96,7 +96,7 @@
9696
<MicrosoftGraphVersion>4.36.0</MicrosoftGraphVersion>
9797
<MicrosoftGraphBetaVersion>4.57.0-preview</MicrosoftGraphBetaVersion>
9898
<MicrosoftExtensionsHttpVersion>3.1.3</MicrosoftExtensionsHttpVersion>
99-
<MicrosoftIdentityAbstractionsVersion>8.1.1</MicrosoftIdentityAbstractionsVersion>
99+
<MicrosoftIdentityAbstractionsVersion>8.2.0</MicrosoftIdentityAbstractionsVersion>
100100
<!--CVE-2024-43485-->
101101
<SystemTextJsonVersion>8.0.5</SystemTextJsonVersion>
102102
<!--CVE-2023-29331-->

src/Microsoft.Identity.Web.TokenAcquisition/TokenAcquisition.cs

+4
Original file line numberDiff line numberDiff line change
@@ -554,6 +554,10 @@ public async Task<AuthenticationResult> GetAuthenticationResultForAppAsync(
554554
}
555555
builder.WithForceRefresh(tokenAcquisitionOptions.ForceRefresh);
556556
builder.WithClaims(tokenAcquisitionOptions.Claims);
557+
if (!string.IsNullOrEmpty(tokenAcquisitionOptions.FmiPath))
558+
{
559+
builder.WithFmiPath(tokenAcquisitionOptions.FmiPath);
560+
}
557561
if (tokenAcquisitionOptions.PoPConfiguration != null)
558562
{
559563
builder.WithSignedHttpRequestProofOfPossession(tokenAcquisitionOptions.PoPConfiguration);

0 commit comments

Comments
 (0)