OAuth2Error.UNSUPPORTED_RESPONSE_TYPE,
clientID, redirectURI, state);
}
// Required in OIDC, must include "openid" parameter
Scope scope = ar.getScope();
if (scope == null)
throw new ParseException("Missing \"scope\" parameter",
OAuth2Error.INVALID_REQUEST,
clientID, redirectURI, state);
if (! scope.contains(OIDCScopeValue.OPENID))
throw new ParseException("The scope must include an \"openid\" token",
OAuth2Error.INVALID_REQUEST,
clientID, redirectURI, state);