From adddd464c4ad1c00e9820aa24ee33209f685df06 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Laura=20Rodr=C3=ADguez?= Date: Tue, 12 Dec 2023 09:40:09 -0500 Subject: [PATCH] Introduce 3rd party's contribution and prepare patch release (#251) Co-authored-by: pixelnix --- Okta.AspNet/CHANGELOG.md | 6 ++++++ Okta.AspNet/DiscoveryDocumentCachingSigningKeyProvider.cs | 2 +- Okta.AspNet/Okta.AspNet.csproj | 6 +++--- 3 files changed, 10 insertions(+), 4 deletions(-) diff --git a/Okta.AspNet/CHANGELOG.md b/Okta.AspNet/CHANGELOG.md index 7e765fa..e3b51c6 100644 --- a/Okta.AspNet/CHANGELOG.md +++ b/Okta.AspNet/CHANGELOG.md @@ -1,6 +1,12 @@ # Changelog Running changelog of releases since `1.6.0` +## 3.2.3 + +### Bug Fixes + +Fix "initial request before signing keys are cached is rejected as unauthorized" issue (#243) (#249) + ## 3.2.2 ### Bug Fixes diff --git a/Okta.AspNet/DiscoveryDocumentCachingSigningKeyProvider.cs b/Okta.AspNet/DiscoveryDocumentCachingSigningKeyProvider.cs index 3759efa..7852ddc 100644 --- a/Okta.AspNet/DiscoveryDocumentCachingSigningKeyProvider.cs +++ b/Okta.AspNet/DiscoveryDocumentCachingSigningKeyProvider.cs @@ -20,7 +20,7 @@ internal class DiscoveryDocumentCachingSigningKeyProvider public DiscoveryDocumentCachingSigningKeyProvider(IDiscoveryDocumentSigningKeyProvider provider) { _discoveryDocumentSigningKeyProvider = provider ?? throw new ArgumentNullException(nameof(provider), "The provider cannot be null."); - RefreshMetadata(); + RetrieveMetadata(); } /// diff --git a/Okta.AspNet/Okta.AspNet.csproj b/Okta.AspNet/Okta.AspNet.csproj index 8a3e10a..8625790 100644 --- a/Okta.AspNet/Okta.AspNet.csproj +++ b/Okta.AspNet/Okta.AspNet.csproj @@ -3,7 +3,7 @@ Official Okta middleware for ASP.NET 4.6.2+. Easily add authentication and authorization to ASP.NET applications. (c) 2019 Okta, Inc. - 3.2.2 + 3.2.3 Okta, Inc. net462 Okta.AspNet @@ -30,8 +30,8 @@ ..\OktaSdk.ruleset - 3.0.2.2 - 3.0.2.2 + 3.2.3.0 + 3.2.3.0 true okta.aspnet.public.snk true