{"id":15093012,"url":"https://github.com/damienbod/aspnetcoreopeniddict","last_synced_at":"2025-05-16T04:05:52.610Z","repository":{"id":37745187,"uuid":"87715061","full_name":"damienbod/AspNetCoreOpeniddict","owner":"damienbod","description":"OpenIddict with Angular and Blazor WASM BFF OpenID Connect Code Flow with PKCE clients and ASP.NET Core APIs ","archived":false,"fork":false,"pushed_at":"2025-05-13T19:02:11.000Z","size":12427,"stargazers_count":367,"open_issues_count":15,"forks_count":75,"subscribers_count":13,"default_branch":"main","last_synced_at":"2025-05-16T04:05:51.311Z","etag":null,"topics":["angular","asp-net-core","bff","blazor","oauth2","oidc","openid","openiddict"],"latest_commit_sha":null,"homepage":"https://damienbod.com/2017/04/11/implementing-openid-implicit-flow-using-openiddict-and-angular/","language":"C#","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"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":null,"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":"2017-04-09T14:38:16.000Z","updated_at":"2025-05-14T21:22:34.000Z","dependencies_parsed_at":"2023-02-18T13:46:19.988Z","dependency_job_id":"4ac41ae6-9bb8-453f-b111-fc84ebf3541f","html_url":"https://github.com/damienbod/AspNetCoreOpeniddict","commit_stats":{"total_commits":318,"total_committers":3,"mean_commits":106.0,"dds":"0.0062893081761006275","last_synced_commit":"fccdda7f8fb13ad076117c1d99d0dd7095f8a644"},"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/damienbod%2FAspNetCoreOpeniddict","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/damienbod%2FAspNetCoreOpeniddict/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/damienbod%2FAspNetCoreOpeniddict/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/damienbod%2FAspNetCoreOpeniddict/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/damienbod","download_url":"https://codeload.github.com/damienbod/AspNetCoreOpeniddict/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":254464895,"owners_count":22075570,"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","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","asp-net-core","bff","blazor","oauth2","oidc","openid","openiddict"],"created_at":"2024-09-25T11:02:54.807Z","updated_at":"2025-05-16T04:05:52.603Z","avatar_url":"https://github.com/damienbod.png","language":"C#","funding_links":[],"categories":[],"sub_categories":[],"readme":"[![.NET](https://github.com/damienbod/AspNetCoreOpeniddict/actions/workflows/dotnet.yml/badge.svg)](https://github.com/damienbod/AspNetCoreOpeniddict/actions/workflows/dotnet.yml)\r\n\r\n# Implementing OpenID Code Flow PKCE using OpenIddict, Angular and Blazor\r\n\r\n- Angular Code flow PKCE public client\r\n- Blazor WASM, ASP.NET Core hosted BFF Code flow PKCE, trusted client\r\n- API OAUTH2 introspection and reference tokens\r\n- OpenID Connect server implemented with OpenIddict\r\n\r\n## Blogs: \r\n\r\n- [Implementing OpenID Code Flow with PKCE using OpenIddict and Angular](https://damienbod.com/2017/04/11/implementing-openid-implicit-flow-using-openiddict-and-angular/)\r\n- [Secure a Blazor WASM ASP.NET Core hosted APP using BFF and OpenIddict](https://damienbod.com/2022/01/03/secure-a-blazor-wasm-asp-net-core-hosted-app-using-bff-and-openiddict/)\r\n- [Using Blazor with a YARP downstream API protected using certificate authentication](https://damienbod.com/2022/02/07/using-blazor-with-a-yarp-downstream-api-protected-using-certificate-authentication/)\r\n- [Implement an OpenIddict identity provider using ASP.NET Core Identity with Keycloak federation](https://damienbod.com/2022/05/02/implement-an-openiddict-identity-provider-using-asp-net-core-identity-with-keycloak-federation/)\r\n- [Add Fido2 MFA to an OpenIddict identity provider using ASP.NET Core Identity](https://damienbod.com/2022/07/04/add-fido2-mfa-to-an-openiddict-identity-provider-using-asp-net-core-identity/)\r\n- [Implement a GRPC API with OpenIddict and the OAuth client credentials flow](https://damienbod.com/2022/09/05/implement-a-grpc-api-with-openiddict-and-oauth-the-client-credentials-flow/)\r\n\r\n## Creating Migrations\r\n\r\n### Console\r\n\r\ndotnet ef migrations add initSts -c ApplicationDbContext\r\n\r\n### Powershell\r\n\r\nAdd-Migration \"init_sts\" -c ApplicationDbContext  \r\n\r\n## Running manually\r\n\r\nUpdate-Database -Context ApplicationDbContext\r\n\r\n## History\r\n\r\n- 2025-05-13 Updated packages\r\n- 2025-04-30 Updated packages\r\n- 2025-03-21 Updated packages\r\n- 2024-12-31 Updated bootstrap 5 in OpenIddict project\r\n- 2024-12-31 Fix script loading\r\n- 2024-12-18 Updated OpenIddict 6.0\r\n- 2024-11-15 .NET 9\r\n- 2024-11-01 Updated packages\r\n- 2024-10-18 Updated packages\r\n- 2024-10-07 Updated packages, updated security headers\r\n- 2024-08-08 Updated packages\r\n- 2024-04-14 Updated packages\r\n- 2024-01-14 Updated packages, fixed CSP\r\n- 2024-01-04 Updated packages\r\n- 2023-11-26 Updated .NET 8\r\n- 2023-11-03 Updated packages, fix security headers\r\n- 2023-09-22 Updated packages\r\n- 2023-07-08 Updated packages\r\n- 2023-04-28 Updated packages\r\n- 2023-01-10 Updated packages\r\n- 2022-12-24 Updated .NET 7, OpenIddict v4\r\n- 2022-09-02 Updated packages, added client credentials flows\r\n- 2022-08-20 Updated packages\r\n- 2022-07-01 Add support for FIDO2 to the OpenIddict server\r\n- 2022-06-19 Update packages\r\n- 2022-06-04 Update packages\r\n- 2022-05-20 Update packages\r\n- 2022-05-02 Update packages, add external provider\r\n- 2022-03-20 Update , using nullable\r\n- 2022-02-07 Update solution\r\n- 2022-01-23 Fix API calls\r\n- 2022-01-21 Update project\r\n- 2022-01-04 Update STS \r\n- 2022-01-01 Added Blazor BFF WASM ASP.NET Core hosted demo\r\n- 2021-12-24 Updating .NET 6, Angular 13.1.0\r\n- 2021-07-01 Updating .NET 5, Angular 12\r\n- 2021-04-21 Updated packages, improved scope validation\r\n- 2020-12-26 Updating to .NET 5, Angular 11\r\n- 2018-05-27 Updating to .NET Core 2.1\r\n- 2018-02-09 Updating npm and Angular 5.2.4\r\n- 2018-02-03 Updating npm and nuget packages, Angular 5.2.3, angular-auth-oidc-client 4.0.1\r\n- 2017-11-24 Updated ASP.NET Core 2, Angular 5.0.3, angular-auth-oidc-client\r\n- 2017-06-13 Updated using angular-auth-oidc-client 0.0.4 and Angular to 4.2.2\r\n - 2017.06.09 Updated Auth Module, and angular to 4.1.3\r\n\r\n## Links:\r\n\r\nhttps://documentation.openiddict.com/\r\n\r\nhttps://github.com/damienbod/Blazor.BFF.OpenIDConnect.Template\r\n\r\nhttps://github.com/openiddict/openiddict-core\r\n\r\nhttps://github.com/robinvanderknaap/authorization-server-openiddict\r\n\r\nhttp://kevinchalet.com/2016/07/13/creating-your-own-openid-connect-server-with-asos-implementing-the-authorization-code-and-implicit-flows/\r\n\r\nhttps://github.com/openiddict/openiddict-core/issues/49\r\n\r\nhttps://github.com/openiddict/openiddict-samples\r\n\r\nhttps://blogs.msdn.microsoft.com/webdev/2017/01/23/asp-net-core-authentication-with-identityserver4/\r\n\r\nhttps://blogs.msdn.microsoft.com/webdev/2016/10/27/bearer-token-authentication-in-asp-net-core/\r\n\r\nhttps://blogs.msdn.microsoft.com/webdev/2017/04/06/jwt-validation-and-authorization-in-asp-net-core/\r\n\r\nhttps://jwt.io/\r\n\r\nhttps://www.scottbrady91.com/OpenID-Connect/OpenID-Connect-Flows\r\n\r\nhttps://damienbod.com/2022/01/10/comparing-the-backend-for-frontend-bff-security-architecture-with-an-spa-ui-using-a-public-api/\r\n\r\n## Keycloak links\r\n\r\nhttps://docs.microsoft.com/en-us/java/openjdk/download\r\n\r\n\u003ehttps://github.com/tuxiem/AspNetCore-keycloak\r\n\r\nhttps://wjw465150.gitbooks.io/keycloak-documentation/content/server_installation/topics/network/https.html\r\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdamienbod%2Faspnetcoreopeniddict","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdamienbod%2Faspnetcoreopeniddict","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdamienbod%2Faspnetcoreopeniddict/lists"}