public static String getServiceRedirectUrl(final RequestContext requestContext) {
        return requestContext.getRequestScope().get("url", String.class);
    }
Gets service redirect url.

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