code: boolean isConfigValid(ConvergedClientConfig config) {
          boolean valid = true;
          String clientId = config.getClientId();
          String clientSecret = config.getClientSecret();
          String authorizationEndpoint = config.getAuthorizationEndpointUrl();
          String jwksUri = config.getJwkEndpointUrl();
          if (clientId == null || clientId.length() == 0) {
              Tr.error(tc, "INVALID_CONFIG_PARAM", new Object[] { OidcLoginConfigImpl.KEY_clientId, clientId }); //CWWKS5500E
              valid = false;
          }
          if (clientSecret == null || clientSecret.length() == 0) {
              Tr.error(tc, "INVALID_CONFIG_PARAM", new Object[] { OidcLoginConfigImpl.KEY_clientSecret, "" }); //CWWKS5500E
              valid = false;
          }
          if (authorizationEndpoint == null || authorizationEndpoint.length() == 0
                  || (!authorizationEndpoint.toLowerCase().startsWith("http"))) {
              Tr.error(tc, "INVALID_CONFIG_PARAM", new Object[] { OidcLoginConfigImpl.KEY_authorizationEndpoint, authorizationEndpoint }); //CWWKS5500E
              valid = false;
          }
  
          // TODO: we need a message when we have bad jwks uri's, but this kind of check fails when jwks uri is not set.
          /*
           * if (jwksUri == null || jwksUri.length() == 0
           * || (!jwksUri.toLowerCase().startsWith("http"))) {
           * Tr.error(tc, "INVALID_CONFIG_PARAM", new Object[] { OidcLoginConfigImpl.KEY_jwksUri, jwksUri }); //CWWKS5500E
           *
           * }
           */
          return valid;
  
      }
docs: Check for some things that will always fail and emit message about bad config.
  Do here so 1) classic oidc messages don't change and 2) put error message closer in log to failure.
  
  @param config
  @return true if config is valid