Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/damienbod/bff-openiddict-aspnetcore-angular
OpenIdict Backend for frontend security using Angular Standalone (nx) and ASP.NET Core backend
https://github.com/damienbod/bff-openiddict-aspnetcore-angular
angular aspnetcore bff cookie nx openiddict yarp
Last synced: about 2 months ago
JSON representation
OpenIdict Backend for frontend security using Angular Standalone (nx) and ASP.NET Core backend
- Host: GitHub
- URL: https://github.com/damienbod/bff-openiddict-aspnetcore-angular
- Owner: damienbod
- License: apache-2.0
- Created: 2023-09-08T20:17:10.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2024-10-17T20:08:28.000Z (3 months ago)
- Last Synced: 2024-10-25T11:51:22.311Z (2 months ago)
- Topics: angular, aspnetcore, bff, cookie, nx, openiddict, yarp
- Language: C#
- Homepage: https://damienbod.com/2023/09/25/secure-angular-application-using-openiddict-and-asp-net-core-with-bff/
- Size: 2.71 MB
- Stars: 19
- Watchers: 5
- Forks: 3
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# OpenIddict BFF security architecture using ASP.NET Core and nx Angular standalone
[![.NET and npm build](https://github.com/damienbod/bff-openiddict-aspnetcore-angular/actions/workflows/dotnet.yml/badge.svg)](https://github.com/damienbod/bff-openiddict-aspnetcore-angular/actions/workflows/dotnet.yml) [![License](https://img.shields.io/badge/license-Apache%20License%202.0-blue.svg)](https://github.com/damienbod/bff-openiddict-aspnetcore-angular/blob/main/bff/LICENSE)
[Secure Angular application using OpenIddict and ASP.NET Core with BFF](https://damienbod.com/2023/09/25/secure-angular-application-using-openiddict-and-asp-net-core-with-bff/)
## DebuggingStart 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## Angular nx Updates
```
nx migrate latestnx migrate --run-migrations=migrations.json
```## History
- 2024-10-17 Code clean up
- 2024-10-17 Updated packages, update security headers performance
- 2024-10-06 Updated Angular 18.2.7
- 2024-10-03 Updated packages
- 2024-06-06 Updated packages, Angular 18
- 2024-04-27 Updated packages and build, code clean up
- 2024-01-22 Updated packages
- 2023-12-30 Open Redirect protection for login
- 2023-11-16 .NET 8 updates## 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