Release v16.22.4
Summary
- Fixed
TokenStorage,AuthorizationStorage, andScopeStoragefailing OAuth token issuance in production due to a singleton service constructor-injecting the scopedIMongoDatabase - Switched all three to
IDatabase, matching the existing correct pattern already used byApplicationStorage
Test plan
-
dotnet build Source/Kernel/Storage.MongoDB/Storage.MongoDB.csproj -c Release— 0 warnings, 0 errors - Verified end-to-end against a real production Chronicle deployment: OAuth token issuance succeeds, server no longer crashes after startup, and dependent application features (previously failing with 500s) work correctly
Fixes #3671