public Service resolveServiceFromRequestContext(final RequestContext context) {
        return FunctionUtils.doUnchecked(() -> {
            val service = WebUtils.getService(context);
            return configurationContext.getAuthenticationRequestServiceSelectionStrategies().resolveService(service);
        });
    }
Resolve service from request context.

@param context the context
@return the service
support/cas-server-support-pac4j-core/src/main/java/org/apereo/cas/web/flow/DelegatedAuthenticationSingleSignOnEvaluator.java