/AspNetCoreHybridFlowWithApi

Different ASP.NET Core applications using OpenID Connect Hybrid flow Code Flow, Code Flow with PKCE, JWT APIs, MFA examples

Primary LanguageC#MIT LicenseMIT

.NET

Blogs:

Database migrations

Add-Migration InitialCreate -c ApplicationDbContext
Update-Database

History

  • 2024-11-12 .NET 9
  • 2024-11-12 Updated packages
  • 2024-10-05 Updated packages and security headers
  • 2024-09-17 Updated packages
  • 2024-08-14 Updated packages
  • 2024-04-29 Updated packages
  • 2024-04-04 Updated packages
  • 2024-01-28 Updated packages
  • 2024-01-14 Updated packages
  • 2023-11-17 Updated to .NET 8
  • 2023-11-03 Updated packages, fix security headers
  • 2023-09-22 Updated packages, switch to code flow with PKCE
  • 2023-08-18 Updated packages, updated start up, updated Duende IdentityServer
  • 2023-05-07 Updated packages
  • 2022-12-17 Updated packages to .NET 7
  • 2022-10-22 Updated packages
  • 2022-05-20 Updated packages
  • 2022-04-02 Updated packages, moved to nullable, some .NET 6 code styles
  • 2022-02-10 Updated namespaces
  • 2022-01-28 Updated packages
  • 2021-11-08 Update .NET 6 release
  • 2021-11-07 Update .NET 6
  • 2021-11-06 Update .NET 5
  • 2021-08-19 improved security headers
  • 2021-08-18 Updated packages, improved security headers STS
  • 2021-05-28 Updated packages, added example for IClaimsTransformation
  • 2021-05-15 Updated packages, fix identity email bug
  • 2021-04-17 Updated nuget packages, improving API calls
  • 2021-03-17 Updated nuget packages
  • 2021-03-05 Updated nuget packages
  • 2021-02-25 Updated nuget packages, small clean up
  • 2021-02-17 Updated nuget packages
  • 2021-01-19 Switching to Azure.Extensions.AspNetCore.Configuration.Secrets
  • 2021-01-17 Updated nuget packages .NET 5.0.2
  • 2020-12-11 Updated to .NET 5
  • 2020-11-08 Added swagger to the API, moved to Azure.Security.KeyVault.Secrets
  • 2020-11-06 Updated nuget packages, npm packages
  • 2020-08-23 Updated nuget packages
  • 2020-07-03 Update IdentityServer4 to V4, Updated nuget packages, update npm packages
  • 2020-05-03 Updated nuget packages
  • 2020-03-02 Support FIDO2 and updated nuget packages
  • 2020-01-03 Added ASP.NET Core Identity App with MFA force
  • 2019-12-18 Added STS acr_values parameters logic
  • 2019-12-14 Added Require MFA client
  • 2019-12-13 Updated to .NET Core 3.1
  • 2019-10-11 Added example of Code Flow with PKCE for ASP.NET Core Razor Page App
  • 2019-10-06 Updated to .NET Core 3.0
  • 2019-05-10 Improving token handling
  • 2019-04-30 Switch to in-process, add token expired check, Updating nuget packages, updating npm packages
  • 2019-02-24 Updating obsolete API call code, updating npm packages
  • 2019-02-20 Updating STS, added the OAuth Device Flow
  • 2018-11-11 Updating Nuget packages, added feauture-policy
  • 2018-11-10 Updated to .NET Core 2.2
  • 2018-08-03 Updated to .NET Core 2.1.2
  • 2018-05-08 Updated to .NET Core 2.1 rc1
  • 2018-05-07 Updated to .NET Core 2.1 preview 2, new Identity Views, 2FA Authenticator, IHttpClientFactory, bootstrap 4.1.0

Links

https://github.com/aspnet/Docs/tree/master/aspnetcore/security/authentication/cookie/samples/2.x/CookieSample

https://docs.microsoft.com/en-us/aspnet/core/security/authentication/cookie?view=aspnetcore-2.2

https://leastprivilege.com/2019/02/08/try-device-flow-with-identityserver4/

https://tools.ietf.org/wg/oauth/draft-ietf-oauth-device-flow/

https://github.com/leastprivilege/AspNetCoreSecuritySamples/tree/aspnetcore21/DeviceFlow

https://hajekj.net/2017/03/06/forcing-reauthentication-with-azure-ad/

https://tools.ietf.org/html/draft-ietf-oauth-amr-values-04

https://openid.net/specs/openid-connect-core-1_0.html