Skip to content

Commit 7447a5c

Browse files
authored
Merge pull request #9 from secure-web-apps/feature/improvements
Several improvements
2 parents be179ca + f442456 commit 7447a5c

21 files changed

Lines changed: 288 additions & 2462 deletions

.gitignore

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -403,3 +403,6 @@ FodyWeavers.xsd
403403
# .tfstate files
404404
*.tfstate
405405
*.tfstate.*
406+
407+
# wwwroot (as it gets recreated on every npm run build)
408+
**/wwwroot/*

README.md

Lines changed: 10 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -73,6 +73,8 @@ For local development environment setup proceed as follows:
7373
- What's missing for a production setup?
7474
- Authorization
7575
- Data requirements
76+
- Update of `ui\public\.well-known\security.txt`
77+
- Make use of Azure Key Vault for secrets management
7678

7779
## Angular CLI Updates
7880

@@ -86,15 +88,15 @@ ng update @angular/cli @angular/core
8688

8789
## History
8890

89-
- 2024-10-06 Angular 18.2.7, updated security headers
90-
- 2024-10-17 Updated security headers performance, updated packages
91-
- 2025-01-01 .NET 9, Angular 19
92-
- 2025-08-30 Angular 20, updated packages
93-
- 2025-10-27 Updated NuGet packages
94-
- 2025-10-28 Updated frontend packages, added integration tests, added GitHub Actions workflows
95-
- 2025-10-30 Fixed deployment to Azure App Service, reverted Angular due to CSP nonce issues
9691
- 2025-10-31 Updated to Angular CLI and Angular 20.3.0, using vite in dev
97-
- 2025-10-31 Updated packages, added terraform, sonar SCA, SAST, improved GitHub Actions workflows
92+
- 2025-10-30 Fixed deployment to Azure App Service, reverted Angular due to CSP nonce issues
93+
- 2025-10-29 Added terraform, sonar SCA, SAST, improved GitHub Actions workflows
94+
- 2025-10-28 Updated frontend packages, added integration tests, added GitHub Actions workflows
95+
- 2025-10-27 Updated NuGet packages
96+
- 2025-08-30 Angular 20, updated packages
97+
- 2025-01-01 .NET 9, Angular 19
98+
- 2024-10-17 Updated security headers performance, updated packages
99+
- 2024-10-06 Angular 18.2.7, updated security headers
98100

99101
## Links
100102

server/BffMicrosoftEntraID.Server.csproj

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@
2323
<ItemGroup>
2424
<PackageReference Include="Microsoft.AspNetCore.Authentication.OpenIdConnect" Version="9.0.10" NoWarn="NU1605" />
2525
<PackageReference Include="Microsoft.AspNetCore.Components.WebAssembly.Server" Version="9.0.10" />
26+
<PackageReference Include="Microsoft.AspNetCore.OpenApi" Version="9.0.10" />
2627
<PackageReference Include="Microsoft.Identity.Web.GraphServiceClient" Version="4.0.1" />
2728
<PackageReference Include="Microsoft.Identity.Web" Version="4.0.1" />
2829
<PackageReference Include="Microsoft.Identity.Web.UI" Version="4.0.1" />

server/Program.cs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,8 @@
1111
serverOptions.AddServerHeader = false;
1212
});
1313

14+
builder.Services.AddOpenApi();
15+
1416
var services = builder.Services;
1517
var configuration = builder.Configuration;
1618

@@ -77,6 +79,7 @@
7779

7880
app.UseDeveloperExceptionPage();
7981
app.UseWebAssemblyDebugging();
82+
app.MapOpenApi();
8083
}
8184
else
8285
{

server/appsettings.Development.json

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -68,6 +68,12 @@
6868
"Match": {
6969
"Path": "/{nomatterwhat}.js.map"
7070
}
71+
},
72+
"wellknown": {
73+
"ClusterId": "cluster1",
74+
"Match": {
75+
"Path": ".well-known/{**catch-all}"
76+
}
7177
}
7278
},
7379
"Clusters": {

server/wwwroot/3rdpartylicenses.txt

Lines changed: 0 additions & 241 deletions
This file was deleted.

server/wwwroot/favicon.ico

-14.7 KB
Binary file not shown.

server/wwwroot/index.html

Lines changed: 0 additions & 18 deletions
This file was deleted.

server/wwwroot/main.7d0ccd34d078f27e.js

Lines changed: 0 additions & 1 deletion
This file was deleted.

0 commit comments

Comments
 (0)