I am having trouble getting some checkboxes to be clicked. the usual XPath does not work, and there is no ID. I have attached the HTML code.

I am having trouble getting some checkboxes to be clicked. the usual XPath does not work, and there is no ID. I have attached the HTML code.

driver.findElement(By.className("custom-control-label")).click();
Try above line. Thanks.
To click() on the element you can use either of the following Locator Strategies:
cssSelector:
driver.findElement(By.cssSelector("input#contactAuth")).click();
xpath:
driver.findElement(By.xpath("//input[@id='contactAuth']")).click();
Ideally, to click() on the element, you need to induce WebDriverWait for the elementToBeClickable() and you can use either of the following Locator Strategies:
cssSelector:
new WebDriverWait(driver, 20).until(ExpectedConditions.elementToBeClickable(By.cssSelector("input.birtviewer_clickable[name='exportReport']"))).click();
xpath:
new WebDriverWait(driver, 20).until(ExpectedConditions.elementToBeClickable(By.xpath("//input[@class='birtviewer_clickable']"))).click();