The type initializer for 'DurableFunctionsMonitor.DotNetBackend.Auth' threw an exception.
bhugot opened this issue · 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()'.
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.