docs: @Override
      public boolean isApproved(AuthorizationRequest authorizationRequest, Authentication userAuthentication) {
  //        if (useTokenServices && super.isApproved(authorizationRequest, userAuthentication)) {
  //            return true;
  //        }
          if (!userAuthentication.isAuthenticated()) {
              return false;
          }
          if (authorizationRequest.isApproved()) {
              return true;
          }
          String clientId = authorizationRequest.getClientId();
          boolean approved = false;
          if (clientDetailsService != null) {
              ClientDetails client = clientDetailsService.loadClientByClientId(clientId, IdentityZoneHolder.get().getId());
              Collection<String> requestedScopes = authorizationRequest.getScope();
              if (isAutoApprove(client, requestedScopes)) {
                  approved = true;
              }
          }
          return approved;
      }