@Override
    public boolean supports(final Service service) {
        val svc = getServicesManager().findServiceBy(service);
        val res = svc != null && service.getId().startsWith(this.callbackUrl);
        val msg = String.format("Authentication request is%s identified as an OAuth request",
            BooleanUtils.toString(res, StringUtils.EMPTY, " not"));
        LOGGER.trace(msg);
        return res;
    }
This is {@link OAuth20AuthenticationServiceSelectionStrategy}.

@author Misagh Moayyed
@since 5.0.0
support/cas-server-support-oauth-core-api/src/main/java/org/apereo/cas/support/oauth/services/OAuth20AuthenticationServiceSelectionStrategy.java