public static void putServiceOriginalUrlIntoRequestScope(final RequestContext requestContext, final WebApplicationService service) {
        requestContext.getRequestScope().put("originalUrl", service.getOriginalUrl());
    }
Put service original url into request scope.

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