Skip to content
This repository was archived by the owner on Nov 16, 2023. It is now read-only.

Commit 304a856

Browse files
committed
update to 4.6 and use b2clogin.com
1 parent 518c7cf commit 304a856

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

WebApp-OpenIDConnect-DotNet/AzureAdB2COptions.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ public class AzureAdB2COptions
1111

1212
public AzureAdB2COptions()
1313
{
14-
AzureAdB2CInstance = "https://login.microsoftonline.com/tfp";
14+
AzureAdB2CInstance = "https://fabrikamb2c.b2clogin.com/tfp";
1515
}
1616

1717
public string ClientId { get; set; }

WebApp-OpenIDConnect-DotNet/Controllers/HomeController.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ public IActionResult Index()
3131
[Authorize]
3232
public IActionResult About()
3333
{
34-
ViewData["Message"] = String.Format("Claims available for the user {0}", (User.FindFirst("name")?.Value));
34+
ViewData["Message"] = string.Format("Claims available for the user {0}", (User.FindFirst("name")?.Value));
3535
return View();
3636
}
3737

WebApp-OpenIDConnect-DotNet/WebApp-OpenIDConnect-DotNet.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
<RootNamespace>WebApp_OpenIDConnect_DotNet</RootNamespace>
55
</PropertyGroup>
66
<ItemGroup>
7-
<PackageReference Include="Microsoft.Identity.Client" Version="4.5.0" />
7+
<PackageReference Include="Microsoft.Identity.Client" Version="4.6.0" />
88
<PackageReference Include="Microsoft.AspNetCore" Version="2.2.0" />
99
<PackageReference Include="Microsoft.AspNetCore.Authentication.Cookies" Version="2.2.0" />
1010
<PackageReference Include="Microsoft.AspNetCore.Authentication.OpenIdConnect" Version="2.2.0" />

0 commit comments

Comments
 (0)