Auth0 BFF security architecture using ASP.NET Core and Angular CLI

May 16, 2026 ยท View on GitHub

.NET and npm build License

Secure Angular application using Auth0 and ASP.NET Core with BFF

Debugging

Start the Angular project from the ui folder

ng serve --ssl

Start the ASP.NET Core project from the server folder

dotnet run

Or just open Visual Studio and run the solution.

Credits and used libraries

  • NetEscapades.AspNetCore.SecurityHeaders
  • Yarp.ReverseProxy
  • ASP.NET Core
  • Angular

Angular CLI Updates

npm install -g @angular/cli latest

ng update

ng update @angular/cli @angular/core

History

  • 2026-05-16 Updated NuGet, Update Angular
  • 2025-12-07 Updated .NET 10, Angular 21
  • 2025-10-31 Update packages, Angular 20.3.0
  • 2025-08-03 Update packages, Angular 20.1.4
  • 2025-05-02 Update packages
  • 2025-02-08 Update packages
  • 2024-12-18 Angular 19
  • 2024-12-06 .NET 9
  • 2024-10-17 Improved security headers performance, updated packages
  • 2024-10-06 Updated Angular 18.2.7
  • 2024-10-03 Updated packages
  • 2024-06-06 Updated packages
  • 2024-04-27 Updated build
  • 2024-04-14 Updated packages
  • 2024-01-14 Updated packages
  • 2023-12-31 Open redirect protection added to login
  • 2023-11-17 Updated .NET 8

https://github.com/damienbod/bff-aspnetcore-angular

https://learn.microsoft.com/en-us/aspnet/core/introduction-to-aspnet-core

https://nx.dev/getting-started/intro

https://auth0.com/docs

https://github.com/isolutionsag/aspnet-react-bff-proxy-example

https://damienbod.com/2021/04/12/securing-blazor-web-assembly-using-cookies-and-auth0/

https://github.com/damienbod/bff-openiddict-aspnetcore-angular

https://github.com/damienbod/bff-azureadb2c-aspnetcore-angular

https://github.com/damienbod/bff-aspnetcore-vuejs

https://github.com/damienbod/bff-MicrosoftEntraExternalID-aspnetcore-angular