Skip to content

Commit 30fb42d

Browse files
authored
Merge pull request #126 from ITfoxtec/development
Development
2 parents fcfbaa5 + 08814a6 commit 30fb42d

42 files changed

Lines changed: 993 additions & 38 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

FoxIDs.Samples.sln

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -72,6 +72,8 @@ Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "ExternalExtendedUiApiSample
7272
EndProject
7373
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "ExternalPasswordApiSample", "src\ExternalPasswordApiSample\ExternalPasswordApiSample.csproj", "{5B331311-692D-C56B-8E8F-1E40F8CB4B14}"
7474
EndProject
75+
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "DirectoryConnectorApiSample", "src\DirectoryConnectorApiSample\DirectoryConnectorApiSample.csproj", "{1A8D40E5-3301-4356-9612-F2C1A6EEE4EE}"
76+
EndProject
7577
Global
7678
GlobalSection(SolutionConfigurationPlatforms) = preSolution
7779
Debug|Any CPU = Debug|Any CPU
@@ -170,6 +172,10 @@ Global
170172
{5B331311-692D-C56B-8E8F-1E40F8CB4B14}.Debug|Any CPU.Build.0 = Debug|Any CPU
171173
{5B331311-692D-C56B-8E8F-1E40F8CB4B14}.Release|Any CPU.ActiveCfg = Release|Any CPU
172174
{5B331311-692D-C56B-8E8F-1E40F8CB4B14}.Release|Any CPU.Build.0 = Release|Any CPU
175+
{1A8D40E5-3301-4356-9612-F2C1A6EEE4EE}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
176+
{1A8D40E5-3301-4356-9612-F2C1A6EEE4EE}.Debug|Any CPU.Build.0 = Debug|Any CPU
177+
{1A8D40E5-3301-4356-9612-F2C1A6EEE4EE}.Release|Any CPU.ActiveCfg = Release|Any CPU
178+
{1A8D40E5-3301-4356-9612-F2C1A6EEE4EE}.Release|Any CPU.Build.0 = Release|Any CPU
173179
EndGlobalSection
174180
GlobalSection(SolutionProperties) = preSolution
175181
HideSolutionNode = FALSE
@@ -203,6 +209,7 @@ Global
203209
{99326EFD-A673-496C-A009-483413A4C22B} = {341BB81B-1FCC-4BB1-8327-52E1E6C2DE58}
204210
{C4BECBB5-4BBD-4CEF-AEC4-2366D04B6221} = {CA8922BB-B413-4DD6-AEE1-047310D43938}
205211
{5B331311-692D-C56B-8E8F-1E40F8CB4B14} = {CA8922BB-B413-4DD6-AEE1-047310D43938}
212+
{1A8D40E5-3301-4356-9612-F2C1A6EEE4EE} = {CA8922BB-B413-4DD6-AEE1-047310D43938}
206213
EndGlobalSection
207214
GlobalSection(ExtensibilityGlobals) = postSolution
208215
SolutionGuid = {E093D1EA-7966-4F7F-BA00-DC599050299F}

src/AspNetCoreApi1Sample/Startup.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ public Startup(IWebHostEnvironment env, IConfiguration configuration)
3434
// This method gets called by the runtime. Use this method to add services to the container.
3535
public void ConfigureServices(IServiceCollection services)
3636
{
37-
IdentityModelEventSource.ShowPII = true; //To show detail of error and see the problem
37+
IdentityModelEventSource.ShowPII = true; // To view detailed authentication errors and identify the issue
3838

3939
services.AddApplicationInsightsTelemetry();
4040

src/AspNetCoreApi2Sample/Program.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99

1010
var builder = WebApplication.CreateBuilder(args);
1111

12-
IdentityModelEventSource.ShowPII = true; //To show detail of error and see the problem
12+
IdentityModelEventSource.ShowPII = true; // To view detailed authentication errors and identify the issue
1313

1414
builder.Services.AddApplicationInsightsTelemetry();
1515

src/AspNetCoreOidcAuthCodeAllUpPartiesSample/AspNetCoreOidcAuthCodeAllUpPartiesSample.csproj

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,10 +9,10 @@
99
</PropertyGroup>
1010

1111
<ItemGroup>
12-
<PackageReference Include="Microsoft.AspNetCore.Authentication.OpenIdConnect" Version="9.0.0" />
13-
<PackageReference Include="Microsoft.ApplicationInsights.AspNetCore" Version="2.22.0" />
12+
<PackageReference Include="Microsoft.AspNetCore.Authentication.OpenIdConnect" Version="9.0.8" />
13+
<PackageReference Include="Microsoft.ApplicationInsights.AspNetCore" Version="2.23.0" />
1414

15-
<PackageReference Include="System.IdentityModel.Tokens.Jwt" Version="8.2.1" />
15+
<PackageReference Include="System.IdentityModel.Tokens.Jwt" Version="8.14.0" />
1616
</ItemGroup>
1717

1818
<ItemGroup>

src/AspNetCoreOidcAuthCodeAllUpPartiesSample/Program.cs

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515

1616
var builder = WebApplication.CreateBuilder(args);
1717

18-
//To show detail of error and see the problem
18+
// To view detailed authentication errors and identify the issue
1919
IdentityModelEventSource.ShowPII = true;
2020

2121
builder.Services.AddApplicationInsightsTelemetry();
@@ -119,6 +119,7 @@
119119
options.Scope.Add("offline_access");
120120
options.Scope.Add("profile");
121121
options.Scope.Add("email");
122+
//options.Scope.Add("phone");
122123

123124
options.MapInboundClaims = false;
124125
options.TokenValidationParameters.NameClaimType = JwtClaimTypes.Subject;
@@ -127,7 +128,7 @@
127128
options.Events.OnRedirectToIdentityProvider = async (context) =>
128129
{
129130
// To require MFA
130-
//context.ProtocolMessage.AcrValues = "urn:foxids:mfa";
131+
//context.ProtocolMessage.AcrValues = "urn:foxids:mfa"; // urn:foxids:link urn:foxids:xxxxxxxx urn:foxids:email urn:foxids:otp
131132
// Request a language on login
132133
//context.ProtocolMessage.UiLocales = "fr";
133134
await Task.FromResult(string.Empty);

src/AspNetCoreOidcAuthorizationCodeSample/Startup.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ public Startup(IConfiguration configuration)
3434

3535
public void ConfigureServices(IServiceCollection services)
3636
{
37-
IdentityModelEventSource.ShowPII = true; //To show detail of error and see the problem
37+
IdentityModelEventSource.ShowPII = true; // To view detailed authentication errors and identify the issue
3838

3939
services.Configure<CookiePolicyOptions>(options =>
4040
{

src/AspNetCoreOidcImplicitSample/Startup.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ public Startup(IConfiguration configuration)
2929

3030
public void ConfigureServices(IServiceCollection services)
3131
{
32-
IdentityModelEventSource.ShowPII = true; //To show detail of error and see the problem
32+
IdentityModelEventSource.ShowPII = true; // To view detailed authentication errors and identify the issue
3333

3434
services.Configure<CookiePolicyOptions>(options =>
3535
{

src/AspNetCoreSamlIdPSample/Startup.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ public Startup(IWebHostEnvironment env, IConfiguration configuration)
3434
// This method gets called by the runtime. Use this method to add services to the container.
3535
public void ConfigureServices(IServiceCollection services)
3636
{
37-
IdentityModelEventSource.ShowPII = true; //To show detail of error and see the problem
37+
IdentityModelEventSource.ShowPII = true; // To view detailed authentication errors and identify the issue
3838

3939
services.AddApplicationInsightsTelemetry();
4040

src/AspNetCoreSamlSample/Startup.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ public Startup(IWebHostEnvironment env, IConfiguration configuration)
3232
// This method gets called by the runtime. Use this method to add services to the container.
3333
public void ConfigureServices(IServiceCollection services)
3434
{
35-
IdentityModelEventSource.ShowPII = true; //To show detail of error and see the problem
35+
IdentityModelEventSource.ShowPII = true; // To view detailed authentication errors and identify the issue
3636

3737
services.Configure<CookiePolicyOptions>(options =>
3838
{

src/BlazorBFFAspNetOidcSample.Client/BlazorBFFAspNetOidcSample.Client.csproj

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -5,11 +5,11 @@
55
</PropertyGroup>
66

77
<ItemGroup>
8-
<PackageReference Include="Microsoft.AspNetCore.Components.WebAssembly" Version="9.0.0" />
9-
<PackageReference Include="Microsoft.AspNetCore.Components.WebAssembly.DevServer" Version="9.0.0" PrivateAssets="all" />
10-
<PackageReference Include="Microsoft.Extensions.Http" Version="9.0.0" />
11-
<PackageReference Include="Microsoft.AspNetCore.Components.WebAssembly.Authentication" Version="9.0.0" />
12-
<PackageReference Include="ITfoxtec.Identity" Version="2.13.9" />
8+
<PackageReference Include="Microsoft.AspNetCore.Components.WebAssembly" Version="9.0.8" />
9+
<PackageReference Include="Microsoft.AspNetCore.Components.WebAssembly.DevServer" Version="9.0.8" PrivateAssets="all" />
10+
<PackageReference Include="Microsoft.Extensions.Http" Version="9.0.8" />
11+
<PackageReference Include="Microsoft.AspNetCore.Components.WebAssembly.Authentication" Version="9.0.8" />
12+
<PackageReference Include="ITfoxtec.Identity" Version="2.15.0" />
1313
</ItemGroup>
1414

1515
</Project>

0 commit comments

Comments
 (0)