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
Expected behavior
X5c property should return a string which contains a JSON array of the x5c header
Actual behavior
X5c property is null
Possible solution
Until version 6.35.0 x5c property was working property. After that, the internal method GetStandardClaim of the JwtHeader class was modified and stopped working.
In the new version, non string values are not handled and by default string.empty is returned. The value of x5c header at that point is List<string>
Additional context / logs / screenshots / links to code
Which version of Microsoft.IdentityModel are you using?
System.IdentityModel.Tokens.Jwt 7.2.0
Where is the issue?
Is this a new or an existing app?
Repro
Expected behavior
X5c property should return a string which contains a JSON array of the x5c header
Actual behavior
X5c property is null
Possible solution
Until version 6.35.0 x5c property was working property. After that, the internal method
GetStandardClaim
of theJwtHeader
class was modified and stopped working.In the new version, non string values are not handled and by default
string.empty
is returned. The value ofx5c
header at that point isList<string>
Additional context / logs / screenshots / links to code
JwtHeader->GetStandardClaim
Add any other context about the problem here, such as logs and screenshots or links to code.
The text was updated successfully, but these errors were encountered: