DurableFunctionsMonitor icon indicating copy to clipboard operation
DurableFunctionsMonitor copied to clipboard

The type initializer for 'DurableFunctionsMonitor.DotNetBackend.Auth' threw an exception.

Open bhugot opened this issue 2 years ago • 1 comments

Hello,

When upgrading to last Microsoft.IdentityModel.Protocols is pulling Microsoft.IdentityModel.Abstractions from 6.32.3 to 6.33.0 that as the following breaking change on startup

The type initializer for 'DurableFunctionsMonitor.DotNetBackend.Auth' threw an exception. Method not found: 'System.Collections.Generic.ICollection`1<Microsoft.IdentityModel.Tokens.SecurityKey> Microsoft.IdentityModel.Protocols.OpenIdConnect.OpenIdConnectConfiguration.get_SigningKeys()'.

bhugot avatar Oct 24 '23 07:10 bhugot

Bumping up Microsoft.IdentityModel.Protocols.OpenIdConnect to anything higher than 6.10.2 in DfMon InProc indeed leads to lots of dependency conflicts. That's precisely why we keep it at that version in DfMon InProc. So I don't see any actionable items regarding this, unless you can name any critical issues with that particular version of Microsoft.IdentityModel.Protocols.OpenIdConnect.

DfMon Isolated, however, is much more flexible, so I bumped it up there and can confirm that there the recent v6.35.0 works OK.

scale-tone avatar Jan 27 '24 11:01 scale-tone