Incorrect parameter specified in exception message

Issue #82 resolved
Former user created an issue

I think there is a misleading exception message in com.nimbusds.openid.connect.sdk.AuthenticationRequest.parse(URI, Map<String, String>) method - shouldn't "redirect_uri" be "request_uri"?

v = params.get("request_uri");
URI requestURI = null;
if (StringUtils.isNotBlank(v)) {
    try {
        requestURI = new URI(v);
    } catch (URISyntaxException e) {
        throw new ParseException("Invalid \"redirect_uri\" parameter: " + e.getMessage(), 
                     OAuth2Error.INVALID_REQUEST,
                     clientID, redirectURI, state, e);
    }
}

Comments (1)

  1. Log in to comment