- changed status to invalid
java.lang.ClassCastException
Issue #365
invalid
Above request marked as Invalid…
In URLUtils.java, serializeParameters is expecting MAP < String, LIST<String>> … same has been passed by AdalTokenRequest.
public static String serializeParameters(final Map<String,List<String>> params)
In the above method, params is of MAP<String, LIST<String>> … but in src/main/java/com/nimbusds/oauth2/sdk/util/URLUtils.java,
at line 101 - entry.getValue is assigned to “String” type… but Value in MAP is a LIST type (as per serializeParameters method parameters)… Please check.
for (String value: entry.getValue()) {
Comments (1)
-
- Log in to comment
It looks like the SDK dep was bumped to a new major version (with updated URLUtils API) without updating the client code.