https://github.com/damienbod/bff-aspnetcore-angular-downstream-cert-api
ASP.NET Core and Angular BFF using a YARP downstream API protected using certificate authentication
https://github.com/damienbod/bff-aspnetcore-angular-downstream-cert-api
angular aspnetcore bff certificate dotnet nx oauth openid-connect web x509
Last synced: about 1 year ago
JSON representation
ASP.NET Core and Angular BFF using a YARP downstream API protected using certificate authentication
- Host: GitHub
- URL: https://github.com/damienbod/bff-aspnetcore-angular-downstream-cert-api
- Owner: damienbod
- License: apache-2.0
- Created: 2024-10-27T06:34:49.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2024-12-31T15:50:55.000Z (over 1 year ago)
- Last Synced: 2025-03-25T08:38:14.275Z (about 1 year ago)
- Topics: angular, aspnetcore, bff, certificate, dotnet, nx, oauth, openid-connect, web, x509
- Language: C#
- Homepage: https://damienbod.com/2024/11/04/asp-net-core-and-angular-bff-using-a-yarp-downstream-api-protected-using-certificate-authentication/
- Size: 2.41 MB
- Stars: 6
- Watchers: 1
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# BFF secured ASP.NET Core application using downstream API and certificate authentication
[ASP.NET Core and Angular BFF using a YARP downstream API protected using certificate authentication](https://damienbod.com/2024/11/04/asp-net-core-and-angular-bff-using-a-yarp-downstream-api-protected-using-certificate-authentication/)

## Debugging
Start the Angular project from the **ui** folder
```
nx serve --ssl
```
Start the ASP.NET Core projects from the **server** folder and the **identityProvider**
```
dotnet run
```
Or just open Visual Studio and run the solution.
## Credits and used libraries
- NetEscapades.AspNetCore.SecurityHeaders
- Yarp.ReverseProxy
- OpenIddict
- ASP.NET Core
- Angular
- Nx
- OpenIddict
## History
- 2024-12-18 Bootstrap 5
- 2024-12-18 .NET 9, Angular 19, OpenIddict 6.0
- 2024-11-01 Small updates and fixes
- 2024-10-30 Fixed local certificate authentication
- 2024-10-27 Initial version
## Angular nx Updates
```
nx migrate latest
nx migrate --run-migrations=migrations.json
```
## 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/isolutionsag/aspnet-react-bff-proxy-example
https://github.com/openiddict
https://github.com/damienbod/bff-auth0-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
https://microsoft.github.io/reverse-proxy/articles/transforms.html
https://github.com/microsoft/reverse-proxy/tree/main/samples/ReverseProxy.Transforms.Sample
https://dev.to/koheikawata/client-certifiate-authenticaiton-of-net-60-web-api-i9i#webserver-local