You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Calling the ConfigureDPoP method on OidcClientOptions when using System.IdentityModel.Tokens.Jwt 8.0.2 throws the following exception:
{"Attempt by method 'IdentityModel.OidcClient.DPoP.DPoPProofTokenFactory..ctor(System.String)' to access method 'Microsoft.IdentityModel.Tokens.CollectionUtilities.IsNullOrEmpty<System.Char>(System.Collections.Generic.IEnumerable`1)' failed."}
After cloning this repo, upgrading to System.IdentityModel.Tokens.Jwt 8.0.2 and .net 8, there's a compilation error in the constructor of DPoPProofTokenFactory on this line:
if (_jwk.Alg.IsNullOrEmpty())
Changing it to if (string.IsNullOrEmpty(_jwk.Alg)) fixed the problem for me.
Maybe a contributor with better knowledge of this repo could look into it and fix it properly?
The text was updated successfully, but these errors were encountered:
Calling the ConfigureDPoP method on OidcClientOptions when using System.IdentityModel.Tokens.Jwt 8.0.2 throws the following exception:
After cloning this repo, upgrading to System.IdentityModel.Tokens.Jwt 8.0.2 and .net 8, there's a compilation error in the constructor of DPoPProofTokenFactory on this line:
if (_jwk.Alg.IsNullOrEmpty())
Changing it to
if (string.IsNullOrEmpty(_jwk.Alg))
fixed the problem for me.Maybe a contributor with better knowledge of this repo could look into it and fix it properly?
The text was updated successfully, but these errors were encountered: