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
byte[] arrays are serialized as base64.
Actual behavior
byte[] arrays are serialized as arrays.
Possible solution
Additional context / logs / screenshots / links to code
Prior to 7.0.0, byte[] arrays were serialized as base64. This is both the default behavior of System.Text.Json and Json.NET. However since 7.0.0 this changed to serialize them as arrays. If this was intentional, it is an undocumented breaking change affecting backwards compatibility and interoperability with other systems expecting the older format!
The text was updated successfully, but these errors were encountered:
Which version of Microsoft.IdentityModel are you using?
Microsoft.IdentityModel 7.x.x
Where is the issue?
Is this a new or an existing app?
The app is in production and I have upgraded to a new version of Microsoft.IdentityModel.*
Repro
Expected behavior
byte[] arrays are serialized as base64.
Actual behavior
byte[] arrays are serialized as arrays.
Possible solution
Additional context / logs / screenshots / links to code
Prior to 7.0.0, byte[] arrays were serialized as base64. This is both the default behavior of System.Text.Json and Json.NET. However since 7.0.0 this changed to serialize them as arrays. If this was intentional, it is an undocumented breaking change affecting backwards compatibility and interoperability with other systems expecting the older format!
The text was updated successfully, but these errors were encountered: