@Override
        protected HttpAction redirectToOriginallyRequestedUrl(final CallContext callContext,
                                                              final String defaultUrl) {
            val result = getSavedRequestHandler().restore(callContext, defaultUrl);
            if (result instanceof final WithLocationAction locationAction) {
                redirectUrl = locationAction.getLocation();
            }
            return result;
        }
Handle request.

@param request  the request
@param response the response
@return the model and view
support/cas-server-support-oauth-core-api/src/main/java/org/apereo/cas/support/oauth/web/endpoints/OAuth20CallbackAuthorizeEndpointController.java