public static void putServiceResponseIntoRequestScope(final RequestContext requestContext, final Response response) {
        requestContext.getRequestScope().put("parameters", response.attributes());
        putServiceRedirectUrl(requestContext, response.url());
    }
Put service response into request scope.

@param requestContext the request context
@param response       the response
core/cas-server-core-web-api/src/main/java/org/apereo/cas/web/support/WebUtils.java