Skip to content

Release v16.22.4

Choose a tag to compare

@github-actions github-actions released this 11 Aug 12:51
b97205d

Summary

  • Fixed TokenStorage, AuthorizationStorage, and ScopeStorage failing OAuth token issuance in production due to a singleton service constructor-injecting the scoped IMongoDatabase
  • Switched all three to IDatabase, matching the existing correct pattern already used by ApplicationStorage

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