Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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: 12 days 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 (2 months ago)
- Default Branch: main
- Last Pushed: 2024-12-18T19:37:52.000Z (15 days ago)
- Last Synced: 2024-12-18T19:41:35.497Z (15 days 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: 1.32 MB
- Stars: 4
- Watchers: 1
- Forks: 1
- 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/)
![image.png](images/context.drawio.png)
## 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 .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 latestnx 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