{"id":15410582,"url":"https://github.com/damienbod/blazorserveroidc","last_synced_at":"2025-04-15T11:54:27.262Z","repository":{"id":215226125,"uuid":"733867819","full_name":"damienbod/BlazorServerOidc","owner":"damienbod","description":"Blazor Server OpenID Connect authentication and session security ","archived":false,"fork":false,"pushed_at":"2025-01-03T07:58:22.000Z","size":1486,"stargazers_count":33,"open_issues_count":1,"forks_count":4,"subscribers_count":3,"default_branch":"main","last_synced_at":"2025-03-28T19:45:20.188Z","etag":null,"topics":["blazor","blazor-server","csp","iam","identity","oidc","openid-connect","openiddict"],"latest_commit_sha":null,"homepage":"https://damienbod.com/2024/01/03/securing-a-blazor-server-application-using-openid-connect-and-security-headers/","language":"C#","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","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}},"created_at":"2023-12-20T10:08:02.000Z","updated_at":"2025-03-20T03:16:32.000Z","dependencies_parsed_at":"2024-01-14T08:33:25.310Z","dependency_job_id":"47ab0f9a-dda2-4844-8987-5194567b331c","html_url":"https://github.com/damienbod/BlazorServerOidc","commit_stats":{"total_commits":105,"total_committers":1,"mean_commits":105.0,"dds":0.0,"last_synced_commit":"fd2fe7a0d9e262b940a6cf39d47efb5942278c25"},"previous_names":["damienbod/blazorserveroidc"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/damienbod%2FBlazorServerOidc","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/damienbod%2FBlazorServerOidc/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/damienbod%2FBlazorServerOidc/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/damienbod%2FBlazorServerOidc/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/damienbod","download_url":"https://codeload.github.com/damienbod/BlazorServerOidc/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":249067773,"owners_count":21207395,"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":["blazor","blazor-server","csp","iam","identity","oidc","openid-connect","openiddict"],"created_at":"2024-10-01T16:45:08.453Z","updated_at":"2025-04-15T11:54:27.256Z","avatar_url":"https://github.com/damienbod.png","language":"C#","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Blazor Server OpenID Connect\n\nImplements a confidential client using OpenID Connect (code flow with PKCE)\n\n[![.NET](https://github.com/damienbod/BlazorServerOidc/actions/workflows/dotnet.yml/badge.svg)](https://github.com/damienbod/BlazorServerOidc/actions/workflows/dotnet.yml)\n\n[Securing a Blazor Server application using OpenID Connect and security headers](https://damienbod.com/2024/01/03/securing-a-blazor-server-application-using-openid-connect-and-security-headers/)\n\n[Migrate ASP.NET Core Blazor Server to Blazor Web](https://damienbod.com/2024/01/15/migrate-asp-net-core-blazor-server-to-blazor-web/)\n\n[Using a CSP nonce in Blazor Web](https://damienbod.com/2024/02/19/using-a-csp-nonce-in-blazor-web/)\n\n## Migrations\n\n### Powershell (identity provider project)\n\nAdd-Migration \"init_sts\" -c ApplicationDbContext  \n\n### Running manually\n\nUpdate-Database -Context ApplicationDbContext\n\n## History\n\n- 2024-12-31 Updated packages, .NET 9\n- 2024-10-21 Updated packages\n- 2024-10-03 Updated packages, updated security headers\n- 2024-06-22 Updated packages\n- 2024-05-26 Updated packages\n- 2024-04-24 Updated packages\n- 2024-03-24 Updated packages\n- 2024-02-19 Updated packages\n- 2024-02-16 Updated packages\n- 2024-02-12 Fix CSP, use nonce\n- 2024-01-14 Updated packages\n- 2024-01-11 Added support for Blazor Web, migrated from Blazor Server\n\n## Links\n\nhttps://learn.microsoft.com/en-us/aspnet/core/blazor/security/server/\n\nhttps://learn.microsoft.com/en-us/aspnet/core/blazor/security/server/interactive-server-side-rendering\n\nhttps://learn.microsoft.com/en-us/power-apps/developer/data-platform/webapi/quick-start-blazor-server-app\n\nhttps://stackoverflow.com/questions/64853618/oidc-authentication-in-server-side-blazor\n\nhttps://learn.microsoft.com/en-us/aspnet/core/security/authentication/claims\n\nhttps://openid.net/developers/how-connect-works/\n\nhttps://github.com/openiddict/openiddict-core\n\nhttps://datatracker.ietf.org/doc/html/rfc9126\n\nhttps://learn.microsoft.com/en-us/aspnet/core/security/authentication/claims\n\nhttps://stackoverflow.com/questions/59121741/anti-forgery-token-validation-in-mvc-app-with-blazor-server-side-component\n\n## Switch Blazor Server to Blazor Web (Server)\n\n\u003e [!WARNING]  \n\u003e The required security headers can only be applied to Blazor Web in InteractiveServer mode\n\nhttps://github.com/javiercn/BlazorWebNonceService\n\nhttps://learn.microsoft.com/en-us/aspnet/core/migration/70-80\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdamienbod%2Fblazorserveroidc","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdamienbod%2Fblazorserveroidc","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdamienbod%2Fblazorserveroidc/lists"}