Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update DiscoveryDocumentCachingSigningKeyProvider.cs
Call blocking method RetrieveMetadata() in provider constructor, instead of non-blocking caching method RefreshMetadata(). Ensures that construction of the provider causes a fetch of signing keys on the backchannel, eliminates race conditions that lead to 401 Unauthorized responses on cold start. Fixes okta#249 and okta#243
- Loading branch information