mr-agrwal opened a new issue #8031: URL: https://github.com/apache/pinot/issues/8031
When trying to connect to pinot using jdbc client, after passing username/password details we are still getting 403. Steps to setup test pinot cluster with auth to test ``` ./bin/pinot-admin.sh AuthQuickStart -type batch ``` Code for jdbc client ``` @Bean public DataSource pinotDatabase(PinotConfig pinotConfig) { Map<String, PinotClientProperties> clients = pinotConfig.getClients(); Optional<PinotClientProperties> client = clients.values().stream().findFirst(); String host; if (client.isPresent()) { host = String.format("jdbc:pinot://%s:%s", client.get().getHosts().get(0), client.get().getPort()); } else { throw new DataLabException(false, "Unable to find cluster name configured under key 'pinot.clients' in application.yml."); } DriverManagerDataSource dataSource = new DriverManagerDataSource(); dataSource.setUrl(host); dataSource.setDriverClassName("org.apache.pinot.client.PinotDriver"); dataSource.setUsername("secret"); dataSource.setPassword("verysecret"); return dataSource; } ``` -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: commits-unsubscr...@pinot.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: commits-unsubscr...@pinot.apache.org For additional commands, e-mail: commits-h...@pinot.apache.org