- changed status to resolved
Incorrect parameter specified in exception message
Issue #82
resolved
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)
-
- Log in to comment
Indeed!
The message was fixed in commit df1b93f.
Thanks,
Vladimir