KEYCLOAK-13102 Remove error log message on invalid response_type
This commit is contained in:
parent
701fb06de1
commit
b39b84c5dc
2 changed files with 1 additions and 2 deletions
|
@ -239,7 +239,6 @@ public class AuthorizationEndpoint extends AuthorizationEndpointBase {
|
|||
action = Action.CODE;
|
||||
}
|
||||
} catch (IllegalArgumentException iae) {
|
||||
logger.error(iae.getMessage());
|
||||
event.error(Errors.INVALID_REQUEST);
|
||||
return redirectErrorToClient(OIDCResponseMode.QUERY, OAuthErrorException.UNSUPPORTED_RESPONSE_TYPE, null);
|
||||
}
|
||||
|
|
|
@ -54,7 +54,7 @@ public class OIDCResponseType {
|
|||
if (ALLOWED_RESPONSE_TYPES.contains(current)) {
|
||||
allowedTypes.add(current);
|
||||
} else {
|
||||
throw new IllegalArgumentException("Unsupported response_type: " + responseTypeParam);
|
||||
throw new IllegalArgumentException("Unsupported response_type");
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue