spring-security/oauth2
Ovidiu Popa 7d31837af3 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 11:20:11 -05:00
..
oauth2-client Revert "Lock Dependencies for 5.3.6" 2020-12-02 19:32:03 -07:00
oauth2-core OidcIdToken cannot be serialized to JSON if token contains claim of type JSONArray or JSONObject 2020-12-03 11:20:11 -05:00
oauth2-jose Revert "Lock Dependencies for 5.3.6" 2020-12-02 19:32:03 -07:00
oauth2-resource-server Revert "Lock Dependencies for 5.3.6" 2020-12-02 19:32:03 -07:00