Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/damienbod/bff-auth0-aspnetcore-angular
Auth0 Backend for frontend security using Angular Standalone (nx) and ASP.NET Core backend
https://github.com/damienbod/bff-auth0-aspnetcore-angular
angular aspnetcore auth0 bff cookie nx yarp
Last synced: 3 months ago
JSON representation
Auth0 Backend for frontend security using Angular Standalone (nx) and ASP.NET Core backend
- Host: GitHub
- URL: https://github.com/damienbod/bff-auth0-aspnetcore-angular
- Owner: damienbod
- License: apache-2.0
- Created: 2023-09-08T18:02:25.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2024-01-14T18:58:47.000Z (12 months ago)
- Last Synced: 2024-04-09T22:41:46.200Z (9 months ago)
- Topics: angular, aspnetcore, auth0, bff, cookie, nx, yarp
- Language: C#
- Homepage: https://damienbod.com/2023/09/18/secure-angular-application-using-auth0-and-asp-net-core-with-bff/
- Size: 1.13 MB
- Stars: 9
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Auth0 BFF security architecture using ASP.NET Core and nx Angular standalone
npm
[![.NET and npm build](https://github.com/damienbod/bff-auth0-aspnetcore-angular/actions/workflows/dotnet.yml/badge.svg)](https://github.com/damienbod/bff-auth0-aspnetcore-angular/actions/workflows/dotnet.yml) [![License](https://img.shields.io/badge/license-Apache%20License%202.0-blue.svg)](https://github.com/damienbod/bff-auth0-aspnetcore-angular/blob/main/LICENSE)[Secure Angular application using Auth0 and ASP.NET Core with BFF](https://damienbod.com/2023/09/18/secure-angular-application-using-auth0-and-asp-net-core-with-bff/)
## 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
- ASP.NET Core
- Angular
- Nx## Angular nx Updates
```
nx migrate latestnx migrate --run-migrations=migrations.json
```## History
- 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## 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://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