https://github.com/damienbod/bff-azureadb2c-aspnetcore-angular
Azure AD B2C Backend for frontend security using Angular Standalone (nx) and ASP.NET Core backend
https://github.com/damienbod/bff-azureadb2c-aspnetcore-angular
angular aspnetcore azureadb2c bff cookie nx
Last synced: about 1 year ago
JSON representation
Azure AD B2C Backend for frontend security using Angular Standalone (nx) and ASP.NET Core backend
- Host: GitHub
- URL: https://github.com/damienbod/bff-azureadb2c-aspnetcore-angular
- Owner: damienbod
- License: apache-2.0
- Created: 2023-09-09T05:04:38.000Z (almost 3 years ago)
- Default Branch: main
- Last Pushed: 2024-12-18T17:34:43.000Z (over 1 year ago)
- Last Synced: 2025-03-04T13:46:18.607Z (over 1 year ago)
- Topics: angular, aspnetcore, azureadb2c, bff, cookie, nx
- Language: C#
- Homepage:
- Size: 1.56 MB
- Stars: 5
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Azure AD B2C BFF security architecture using ASP.NET Core and nx Angular standalone
[](https://github.com/damienbod/bff-azureadb2c-aspnetcore-angular/actions/workflows/dotnet.yml) [](https://github.com/damienbod/bff-azureadb2c-aspnetcore-angular/blob/main/LICENSE)
## Documentation
See this: https://github.com/damienbod/bff-aspnetcore-angular
Or **Microsoft.Identity.Web** for Azure AD B2C setups
## Debugging
Start the Angular project from the **ui** folder
```
nx 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
- Microsoft.Identity.Web
- ASP.NET Core
- Angular
- Nx
## Angular nx Updates
```
nx migrate latest
nx migrate --run-migrations=migrations.json
```
## History
- 2024-12-18 Updated .NET 9, Angular 19
- 2024-10-17 Updated packages, updated security headers performance
- 2024-10-06 Updated Angular 18.2.7
## Links
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://github.com/AzureAD/microsoft-identity-web
https://github.com/isolutionsag/aspnet-react-bff-proxy-example
https://github.com/damienbod/bff-auth0-aspnetcore-angular
https://github.com/damienbod/bff-openiddict-aspnetcore-angular
https://github.com/damienbod/bff-aspnetcore-vuejs
https://github.com/damienbod/bff-MicrosoftEntraExternalID-aspnetcore-angular
## API Links
https://damienbod.com/2023/01/30/using-multi-tenant-aad-delegated-apis-from-different-tenants/