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