damienbod/AspNetCoreOpenIddict
Über uns
OpenIddict with Angular and Blazor WASM BFF OpenID Connect Code Flow with PKCE clients and ASP.NET Core APIs
Web- und App-EntwicklungGemessener Sternzuwachs
- in 24h
- 0
- in 7 days
- 0
- in 15 days
- +3
- in 1 month
- Verlauf wird gesammelt
Nettoänderungen in überlappenden Zeiträumen, keine Tagessummen. Fehlende Messwerte bleiben leer. Sterne zeigen Interesse, nicht Qualität.
README.md
OriginalImplementing OpenID Code Flow PKCE using OpenIddict, Angular and Blazor
- Angular Code flow PKCE public client
- Blazor WASM, ASP.NET Core hosted BFF Code flow PKCE, trusted client
- API OAUTH2 introspection and reference tokens
- OpenID Connect server implemented with OpenIddict
Blogs:
- Implementing OpenID Code Flow with PKCE using OpenIddict and Angular
- Secure a Blazor WASM ASP.NET Core hosted APP using BFF and OpenIddict
- Using Blazor with a YARP downstream API protected using certificate authentication
- Implement an OpenIddict identity provider using ASP.NET Core Identity with Keycloak federation
- Add Fido2 MFA to an OpenIddict identity provider using ASP.NET Core Identity
- Implement a GRPC API with OpenIddict and the OAuth client credentials flow
Creating Migrations
Console
dotnet ef migrations add InitOpenIddict -c ApplicationDbContext
Powershell
Add-Migration "InitOpenIddict" -c ApplicationDbContext
Running manually
Update-Database -Context ApplicationDbContext
Entra ID external login
Configure AzureAd:TenantId, AzureAd:ClientId, and AzureAd:ClientSecret using user secrets for development or a secure configuration provider for deployment.
In the Entra app registration, add the Web redirect URI https://localhost:44395/signin-oidc-entraid for the IdentityProvider launch profile. For deployment, use the public IdentityProvider origin with the same callback path. Keycloak continues to use /signin-oidc.
Each OpenID Connect provider needs a different callback path; otherwise the wrong handler can receive the response and fail with Unable to unprotect the message.State. Both providers use ASP.NET Core Identity's external cookie for the external login flow. After changing the redirect URI, restart the application and start a fresh login rather than reusing an old callback URL.
History
- 2026-11-22 .NET 11
- 2026-05-14 Updated packages
- 2026-03-15 Updated .NET 10
- 2026-02-24 Updated .NET 10, updated passkeys in OpenIddict server, Angular 21.1.5
- 2025-11-29 Updated .NET 10, Angular 21, Update Angular OIDC
- 2025-05-13 Updated packages
- 2025-04-30 Updated packages
- 2025-03-21 Updated packages
- 2024-12-31 Updated bootstrap 5 in OpenIddict project
- 2024-12-31 Fix script loading
- 2024-12-18 Updated OpenIddict 6.0
- 2024-11-15 .NET 9
- 2024-11-01 Updated packages
- 2024-10-18 Updated packages
- 2024-10-07 Updated packages, updated security headers
- 2024-08-08 Updated packages
- 2024-04-14 Updated packages
- 2024-01-14 Updated packages, fixed CSP
- 2024-01-04 Updated packages
- 2023-11-26 Updated .NET 8
- 2023-11-03 Updated packages, fix security headers
- 2023-09-22 Updated packages
- 2023-07-08 Updated packages
- 2023-04-28 Updated packages
- 2023-01-10 Updated packages
- 2022-12-24 Updated .NET 7, OpenIddict v4
- 2022-09-02 Updated packages, added client credentials flows
- 2022-08-20 Updated packages
- 2022-07-01 Add support for FIDO2 to the OpenIddict server
- 2022-06-19 Update packages
- 2022-06-04 Update packages
- 2022-05-20 Update packages
- 2022-05-02 Update packages, add external provider
- 2022-03-20 Update , using nullable
- 2022-02-07 Update solution
- 2022-01-23 Fix API calls
- 2022-01-21 Update project
- 2022-01-04 Update STS
- 2022-01-01 Added Blazor BFF WASM ASP.NET Core hosted demo
- 2021-12-24 Updating .NET 6, Angular 13.1.0
- 2021-07-01 Updating .NET 5, Angular 12
- 2021-04-21 Updated packages, improved scope validation
- 2020-12-26 Updating to .NET 5, Angular 11
- 2018-05-27 Updating to .NET Core 2.1
- 2018-02-09 Updating npm and Angular 5.2.4
- 2018-02-03 Updating npm and nuget packages, Angular 5.2.3, angular-auth-oidc-client 4.0.1
- 2017-11-24 Updated ASP.NET Core 2, Angular 5.0.3, angular-auth-oidc-client
- 2017-06-13 Updated using angular-auth-oidc-client 0.0.4 and Angular to 4.2.2
- 2017.06.09 Updated Auth Module, and angular to 4.1.3
Links:
https://documentation.openiddict.com/
https://github.com/damienbod/Blazor.BFF.OpenIDConnect.Template
https://github.com/openiddict/openiddict-core
https://github.com/robinvanderknaap/authorization-server-openiddict
https://github.com/openiddict/openiddict-core/issues/49
https://github.com/openiddict/openiddict-samples
https://blogs.msdn.microsoft.com/webdev/2017/01/23/asp-net-core-authentication-with-identityserver4/
https://blogs.msdn.microsoft.com/webdev/2016/10/27/bearer-token-authentication-in-asp-net-core/
https://blogs.msdn.microsoft.com/webdev/2017/04/06/jwt-validation-and-authorization-in-asp-net-core/
https://www.scottbrady91.com/OpenID-Connect/OpenID-Connect-Flows
Keycloak links
https://docs.microsoft.com/en-us/java/openjdk/download
Ähnliche Projekte entdecken
Wird geladen…