{"id":15410587,"url":"https://github.com/damienbod/bff-openiddict-aspnetcore-angular","last_synced_at":"2025-08-08T12:09:30.438Z","repository":{"id":196440661,"uuid":"689105912","full_name":"damienbod/bff-openiddict-aspnetcore-angular","owner":"damienbod","description":"OpenIddict backend for frontend security using Angular Standalone (nx) and ASP.NET Core backend","archived":false,"fork":false,"pushed_at":"2025-08-03T09:58:18.000Z","size":3363,"stargazers_count":34,"open_issues_count":0,"forks_count":8,"subscribers_count":5,"default_branch":"main","last_synced_at":"2025-08-03T11:33:40.387Z","etag":null,"topics":["angular","aspnetcore","bff","cookie","nx","openiddict","yarp"],"latest_commit_sha":null,"homepage":"https://damienbod.com/2023/09/25/secure-angular-application-using-openiddict-and-asp-net-core-with-bff/","language":"C#","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/damienbod.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2023-09-08T20:17:10.000Z","updated_at":"2025-08-03T09:57:35.000Z","dependencies_parsed_at":null,"dependency_job_id":"a40f1c53-c500-4fee-b373-c074e6ee4d88","html_url":"https://github.com/damienbod/bff-openiddict-aspnetcore-angular","commit_stats":{"total_commits":70,"total_committers":2,"mean_commits":35.0,"dds":"0.014285714285714235","last_synced_commit":"438e83d4f54dab576b21f14d0f74db0f33b7b0b2"},"previous_names":["damienbod/bff-openiddict-aspnetcore-angular"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/damienbod/bff-openiddict-aspnetcore-angular","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/damienbod%2Fbff-openiddict-aspnetcore-angular","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/damienbod%2Fbff-openiddict-aspnetcore-angular/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/damienbod%2Fbff-openiddict-aspnetcore-angular/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/damienbod%2Fbff-openiddict-aspnetcore-angular/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/damienbod","download_url":"https://codeload.github.com/damienbod/bff-openiddict-aspnetcore-angular/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/damienbod%2Fbff-openiddict-aspnetcore-angular/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":269417546,"owners_count":24413385,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-08-08T02:00:09.200Z","response_time":72,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["angular","aspnetcore","bff","cookie","nx","openiddict","yarp"],"created_at":"2024-10-01T16:45:10.495Z","updated_at":"2025-08-08T12:09:30.424Z","avatar_url":"https://github.com/damienbod.png","language":"C#","funding_links":[],"categories":[],"sub_categories":[],"readme":"# OpenIddict BFF security architecture using ASP.NET Core and nx Angular standalone\n\n [![.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)\n\n[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/)\n\n## Debugging\n\nStart the Angular project from the **ui** folder\n\n```\nnx serve --ssl\n```\n\nStart the ASP.NET Core projects from the **server** folder and the **identityProvider**\n\n```\ndotnet run\n```\n\nOr just open Visual Studio and run the solution.\n\n## Credits and used libraries\n\n- NetEscapades.AspNetCore.SecurityHeaders\n- Yarp.ReverseProxy\n- OpenIddict\n- ASP.NET Core\n- Angular \n- Nx\n- OpenIddict\n\n## Angular nx Updates\n\n```\nnx migrate latest\n\nnx migrate --run-migrations=migrations.json\n```\n\n## History\n\n- 2025-08-03 Updated packages, Angular 20.1.4\n- 2024-12-31 Bootstrap 5\n- 2024-12-31 Fix script loading\n- 2024-12-18 .NET 9, Openiddict 6.0, Angular 19\n- 2024-10-17 Code clean up\n- 2024-10-17 Updated packages, update security headers performance\n- 2024-10-06 Updated Angular 18.2.7\n- 2024-10-03 Updated packages\n- 2024-06-06 Updated packages, Angular 18\n- 2024-04-27 Updated packages and build, code clean up\n- 2024-01-22 Updated packages\n- 2023-12-30 Open Redirect protection for login\n- 2023-11-16 .NET 8 updates\n\n## Links\n\nhttps://github.com/damienbod/bff-aspnetcore-angular\n\nhttps://learn.microsoft.com/en-us/aspnet/core/introduction-to-aspnet-core\n\nhttps://nx.dev/getting-started/intro\n\nhttps://github.com/isolutionsag/aspnet-react-bff-proxy-example\n\nhttps://github.com/openiddict\n\nhttps://github.com/damienbod/bff-auth0-aspnetcore-angular\n\nhttps://github.com/damienbod/bff-azureadb2c-aspnetcore-angular\n\nhttps://github.com/damienbod/bff-aspnetcore-vuejs\n\nhttps://github.com/damienbod/bff-MicrosoftEntraExternalID-aspnetcore-angular\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdamienbod%2Fbff-openiddict-aspnetcore-angular","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdamienbod%2Fbff-openiddict-aspnetcore-angular","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdamienbod%2Fbff-openiddict-aspnetcore-angular/lists"}