Skip to content
This repository was archived by the owner on Jun 15, 2026. It is now read-only.

Commit c9e284d

Browse files
committed
update msal and fix su_si authority name
1 parent 365e548 commit c9e284d

3 files changed

Lines changed: 5 additions & 5 deletions

File tree

active-directory-b2c-wpf/App.xaml.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ public partial class App : Application
2020
public static string[] ApiScopes = { "https://fabrikamb2c.onmicrosoft.com/helloapi/demo.read" };
2121
public static string ApiEndpoint = "https://fabrikamb2chello.azurewebsites.net/hello";
2222
private static string AuthorityBase = $"https://{AzureAdB2CHostname}/tfp/{Tenant}/";
23-
public static string AuthoritySignInSignUp = $"{AuthorityBase}{PolicySignUpSignIn}";
23+
public static string AuthoritySignUpSignIn = $"{AuthorityBase}{PolicySignUpSignIn}";
2424
public static string AuthorityEditProfile = $"{AuthorityBase}{PolicyEditProfile}";
2525
public static string AuthorityResetPassword = $"{AuthorityBase}{PolicyResetPassword}";
2626

@@ -29,7 +29,7 @@ public partial class App : Application
2929
static App()
3030
{
3131
PublicClientApp = PublicClientApplicationBuilder.Create(ClientId)
32-
.WithB2CAuthority(AuthoritySignInSignUp)
32+
.WithB2CAuthority(AuthoritySignUpSignIn)
3333
.WithLogging(Log, LogLevel.Verbose, false) //PiiEnabled set to false
3434
.Build();
3535

active-directory-b2c-wpf/active-directory-b2c-wpf.csproj

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,8 +34,8 @@
3434
<WarningLevel>4</WarningLevel>
3535
</PropertyGroup>
3636
<ItemGroup>
37-
<Reference Include="Microsoft.Identity.Client, Version=4.5.0.0, Culture=neutral, PublicKeyToken=0a613f4dd989e8ae, processorArchitecture=MSIL">
38-
<HintPath>..\packages\Microsoft.Identity.Client.4.5.0\lib\net45\Microsoft.Identity.Client.dll</HintPath>
37+
<Reference Include="Microsoft.Identity.Client, Version=4.6.0.0, Culture=neutral, PublicKeyToken=0a613f4dd989e8ae, processorArchitecture=MSIL">
38+
<HintPath>..\packages\Microsoft.Identity.Client.4.6.0\lib\net45\Microsoft.Identity.Client.dll</HintPath>
3939
</Reference>
4040
<Reference Include="Newtonsoft.Json, Version=12.0.0.0, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed, processorArchitecture=MSIL">
4141
<HintPath>..\packages\Newtonsoft.Json.12.0.2\lib\net45\Newtonsoft.Json.dll</HintPath>

active-directory-b2c-wpf/packages.config

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<?xml version="1.0" encoding="utf-8"?>
22
<packages>
3-
<package id="Microsoft.Identity.Client" version="4.5.0" targetFramework="net452" />
3+
<package id="Microsoft.Identity.Client" version="4.6.0" targetFramework="net452" />
44
<package id="Microsoft.NETCore.Platforms" version="1.1.1" targetFramework="net452" />
55
<package id="Microsoft.NETCore.Targets" version="1.1.3" targetFramework="net452" />
66
<package id="Newtonsoft.Json" version="12.0.2" targetFramework="net452" />

0 commit comments

Comments
 (0)