@Override
    protected RegisteredService locateRegisteredService(final String id) {
        var service = super.locateRegisteredService(id);
        if (service == null) {
            service = OAuth20Utils.getRegisteredOAuthServiceByClientId(getServicesManager(), id);
        }
        return service;
    }
This is {@link OAuth20JwtBuilder}.

@author Misagh Moayyed
@since 6.1.0
support/cas-server-support-oauth-core-api/src/main/java/org/apereo/cas/ticket/accesstoken/OAuth20JwtBuilder.java