spring-security/oauth2
Ovidiu Popa d5d0be36f4 OidcIdToken cannot be serialized to JSON if token contains claim of type JSONArray or JSONObject
ObjectToListStringConverter and ObjectToMapStringObjectConverter were checking if the source object is of type List or Map and if the first element or key is a String. If we have a JSONArray containing Strings the above check will pass, meaning that a JSONArray will be returned which is not serializable (same applies to JSONObject)

With this change, even if the check is passing a new List or Map will be returned.

Closes gh-9210
2020-12-03 09:58:30 -05:00
..
oauth2-client Deprecate ClientAuthenticationMethod BASIC and POST 2020-11-25 15:13:28 -05:00
oauth2-core OidcIdToken cannot be serialized to JSON if token contains claim of type JSONArray or JSONObject 2020-12-03 09:58:30 -05:00
oauth2-jose Add ClaimAccessor#hasClaim 2020-11-25 11:58:17 -07:00
oauth2-resource-server Avoid ClassCastException if principalClaim value is not a String 2020-12-02 16:15:10 -07:00