Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
34 changes: 5 additions & 29 deletions BFF/v3/Angular/angular.ssr/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
// Licensed under the MIT License. See LICENSE in the project root for license information.

using System;
using Client;
using Microsoft.AspNetCore.Builder;
using Microsoft.Extensions.DependencyInjection;
using ResourceBasedApi;
Expand Down Expand Up @@ -32,7 +31,7 @@
// JWT tokens
.AddJwtBearer("token", options =>
{
options.Authority = Urls.IdentityServer;
options.Authority = "https://localhost:5001";
options.Audience = "resource2";

options.TokenValidationParameters.ValidTypes = new[] { "at+jwt" };
Expand All @@ -44,7 +43,7 @@
// reference tokens
.AddOAuth2Introspection("introspection", options =>
{
options.Authority = Urls.IdentityServer;
options.Authority = "https://localhost:5001";

options.ClientId = "resource1";
options.ClientSecret = "secret";
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,4 @@
</ItemGroup>

<!-- Constants and helpers -->
<ItemGroup>
<Compile Include="..\..\Shared\Constants.cs">
<Link>Shared\Constants.cs</Link>
</Compile>

</ItemGroup>
</Project>
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
// Copyright (c) Duende Software. All rights reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.

using Client;
using Serilog;
using Serilog.Events;
using Serilog.Sinks.SystemConsole.Themes;
Expand All @@ -26,7 +25,7 @@
builder.Services.AddAuthentication("token")
.AddJwtBearer("token", options =>
{
options.Authority = Urls.IdentityServer;
options.Authority = "https://localhost:5001";
options.TokenValidationParameters.ValidateAudience = false;

options.TokenValidationParameters.ValidTypes = new[] { "at+jwt" };
Expand Down
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
{
"profiles": {
"Api": {
"SelfHost": {
"commandName": "Project",
"environmentVariables": {
"ASPNETCORE_ENVIRONMENT": "Development"
},
"applicationUrl": "https://localhost:5002"
}
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,5 @@
</ItemGroup>

<!-- Constants and helpers -->
<ItemGroup>
<Compile Include="..\..\Shared\Constants.cs">
<Link>Shared\Constants.cs</Link>
</Compile>
</ItemGroup>

</Project>
52 changes: 26 additions & 26 deletions IdentityServer/v7/Basics/ClientCredentials/ClientCredentials.sln
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,9 @@ VisualStudioVersion = 15.0.26124.0
MinimumVisualStudioVersion = 15.0.26124.0
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Client", "src\Client.csproj", "{231602F3-72FC-4D10-9BB8-90FCCF662DF6}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "IdentityServerHost", "..\IdentityServer\src\IdentityServerHost.csproj", "{40EC0D82-FE0F-4F38-AB58-C25B0FC0102F}"
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "IdentityServerHost", "..\..\IdentityServerHost\src\IdentityServerHost.csproj", "{62EB4A12-0868-4770-A63C-14FA07F0BF5C}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SimpleApi", "..\Apis\SimpleApi\SimpleApi.csproj", "{12E10AE2-85D2-4110-8C33-4F2CFC849BF2}"
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SimpleApi", "..\..\Apis\SimpleApi\SimpleApi.csproj", "{2538D8F8-8265-4C96-9888-DA03306C1CC2}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Expand All @@ -34,18 +34,6 @@ Global
{231602F3-72FC-4D10-9BB8-90FCCF662DF6}.Release|x64.Build.0 = Release|Any CPU
{231602F3-72FC-4D10-9BB8-90FCCF662DF6}.Release|x86.ActiveCfg = Release|Any CPU
{231602F3-72FC-4D10-9BB8-90FCCF662DF6}.Release|x86.Build.0 = Release|Any CPU
{40EC0D82-FE0F-4F38-AB58-C25B0FC0102F}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{40EC0D82-FE0F-4F38-AB58-C25B0FC0102F}.Debug|Any CPU.Build.0 = Debug|Any CPU
{40EC0D82-FE0F-4F38-AB58-C25B0FC0102F}.Debug|x64.ActiveCfg = Debug|Any CPU
{40EC0D82-FE0F-4F38-AB58-C25B0FC0102F}.Debug|x64.Build.0 = Debug|Any CPU
{40EC0D82-FE0F-4F38-AB58-C25B0FC0102F}.Debug|x86.ActiveCfg = Debug|Any CPU
{40EC0D82-FE0F-4F38-AB58-C25B0FC0102F}.Debug|x86.Build.0 = Debug|Any CPU
{40EC0D82-FE0F-4F38-AB58-C25B0FC0102F}.Release|Any CPU.ActiveCfg = Release|Any CPU
{40EC0D82-FE0F-4F38-AB58-C25B0FC0102F}.Release|Any CPU.Build.0 = Release|Any CPU
{40EC0D82-FE0F-4F38-AB58-C25B0FC0102F}.Release|x64.ActiveCfg = Release|Any CPU
{40EC0D82-FE0F-4F38-AB58-C25B0FC0102F}.Release|x64.Build.0 = Release|Any CPU
{40EC0D82-FE0F-4F38-AB58-C25B0FC0102F}.Release|x86.ActiveCfg = Release|Any CPU
{40EC0D82-FE0F-4F38-AB58-C25B0FC0102F}.Release|x86.Build.0 = Release|Any CPU
{1F49E1C3-B9BC-42EC-881E-AF42D358EAF5}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{1F49E1C3-B9BC-42EC-881E-AF42D358EAF5}.Debug|Any CPU.Build.0 = Debug|Any CPU
{1F49E1C3-B9BC-42EC-881E-AF42D358EAF5}.Debug|x64.ActiveCfg = Debug|Any CPU
Expand All @@ -58,18 +46,30 @@ Global
{1F49E1C3-B9BC-42EC-881E-AF42D358EAF5}.Release|x64.Build.0 = Release|Any CPU
{1F49E1C3-B9BC-42EC-881E-AF42D358EAF5}.Release|x86.ActiveCfg = Release|Any CPU
{1F49E1C3-B9BC-42EC-881E-AF42D358EAF5}.Release|x86.Build.0 = Release|Any CPU
{12E10AE2-85D2-4110-8C33-4F2CFC849BF2}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{12E10AE2-85D2-4110-8C33-4F2CFC849BF2}.Debug|Any CPU.Build.0 = Debug|Any CPU
{12E10AE2-85D2-4110-8C33-4F2CFC849BF2}.Debug|x64.ActiveCfg = Debug|Any CPU
{12E10AE2-85D2-4110-8C33-4F2CFC849BF2}.Debug|x64.Build.0 = Debug|Any CPU
{12E10AE2-85D2-4110-8C33-4F2CFC849BF2}.Debug|x86.ActiveCfg = Debug|Any CPU
{12E10AE2-85D2-4110-8C33-4F2CFC849BF2}.Debug|x86.Build.0 = Debug|Any CPU
{12E10AE2-85D2-4110-8C33-4F2CFC849BF2}.Release|Any CPU.ActiveCfg = Release|Any CPU
{12E10AE2-85D2-4110-8C33-4F2CFC849BF2}.Release|Any CPU.Build.0 = Release|Any CPU
{12E10AE2-85D2-4110-8C33-4F2CFC849BF2}.Release|x64.ActiveCfg = Release|Any CPU
{12E10AE2-85D2-4110-8C33-4F2CFC849BF2}.Release|x64.Build.0 = Release|Any CPU
{12E10AE2-85D2-4110-8C33-4F2CFC849BF2}.Release|x86.ActiveCfg = Release|Any CPU
{12E10AE2-85D2-4110-8C33-4F2CFC849BF2}.Release|x86.Build.0 = Release|Any CPU
{62EB4A12-0868-4770-A63C-14FA07F0BF5C}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{62EB4A12-0868-4770-A63C-14FA07F0BF5C}.Debug|Any CPU.Build.0 = Debug|Any CPU
{62EB4A12-0868-4770-A63C-14FA07F0BF5C}.Debug|x64.ActiveCfg = Debug|Any CPU
{62EB4A12-0868-4770-A63C-14FA07F0BF5C}.Debug|x64.Build.0 = Debug|Any CPU
{62EB4A12-0868-4770-A63C-14FA07F0BF5C}.Debug|x86.ActiveCfg = Debug|Any CPU
{62EB4A12-0868-4770-A63C-14FA07F0BF5C}.Debug|x86.Build.0 = Debug|Any CPU
{62EB4A12-0868-4770-A63C-14FA07F0BF5C}.Release|Any CPU.ActiveCfg = Release|Any CPU
{62EB4A12-0868-4770-A63C-14FA07F0BF5C}.Release|Any CPU.Build.0 = Release|Any CPU
{62EB4A12-0868-4770-A63C-14FA07F0BF5C}.Release|x64.ActiveCfg = Release|Any CPU
{62EB4A12-0868-4770-A63C-14FA07F0BF5C}.Release|x64.Build.0 = Release|Any CPU
{62EB4A12-0868-4770-A63C-14FA07F0BF5C}.Release|x86.ActiveCfg = Release|Any CPU
{62EB4A12-0868-4770-A63C-14FA07F0BF5C}.Release|x86.Build.0 = Release|Any CPU
{2538D8F8-8265-4C96-9888-DA03306C1CC2}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{2538D8F8-8265-4C96-9888-DA03306C1CC2}.Debug|Any CPU.Build.0 = Debug|Any CPU
{2538D8F8-8265-4C96-9888-DA03306C1CC2}.Debug|x64.ActiveCfg = Debug|Any CPU
{2538D8F8-8265-4C96-9888-DA03306C1CC2}.Debug|x64.Build.0 = Debug|Any CPU
{2538D8F8-8265-4C96-9888-DA03306C1CC2}.Debug|x86.ActiveCfg = Debug|Any CPU
{2538D8F8-8265-4C96-9888-DA03306C1CC2}.Debug|x86.Build.0 = Debug|Any CPU
{2538D8F8-8265-4C96-9888-DA03306C1CC2}.Release|Any CPU.ActiveCfg = Release|Any CPU
{2538D8F8-8265-4C96-9888-DA03306C1CC2}.Release|Any CPU.Build.0 = Release|Any CPU
{2538D8F8-8265-4C96-9888-DA03306C1CC2}.Release|x64.ActiveCfg = Release|Any CPU
{2538D8F8-8265-4C96-9888-DA03306C1CC2}.Release|x64.Build.0 = Release|Any CPU
{2538D8F8-8265-4C96-9888-DA03306C1CC2}.Release|x86.ActiveCfg = Release|Any CPU
{2538D8F8-8265-4C96-9888-DA03306C1CC2}.Release|x86.Build.0 = Release|Any CPU
EndGlobalSection
GlobalSection(NestedProjects) = preSolution
EndGlobalSection
Expand Down
Loading
Loading