tchiotludo / akhq

Kafka GUI for Apache Kafka to manage topics, topics data, consumers group, schema registry, connect and more...
https://akhq.io/
Apache License 2.0
3.39k stars 655 forks source link

When exploring data in a topic, sorting of upper right green arrow brings authentication screen #62

Closed ftardif closed 5 years ago

ftardif commented 5 years ago

I believe the configuration should already grant all roles, so why do I get the auth screen (I don't even know what user/pass) to provide:

[ftardif@fonse-db1 ~]$ cat /opt/kafkahq/application.yml

kafkahq: server: base-path: "/kafka/kafkahq" connections: kafka-vic: properties: bootstrap.servers: geo-kafka-broker.query.consul:9092 schema-registry: url: http://geo-kafka-schema-registry.query.consul:8081

security: default-roles:

tchiotludo commented 5 years ago

On micronaut (java base framework), a non existing route will lead to unauthorized url. The url was wrong on this pagination when using a base-path.

Fix :+1: Thanks for the report :+1:

BTW, you can use a simple configuration files like that :

kafkahq:
    server:
        base-path: "/kafka/kafkahq"
    connections:
        kafka-vic:
            properties:
                bootstrap.servers: geo-kafka-broker.query.consul:9092
            schema-registry:
                url: http://geo-kafka-schema-registry.query.consul:8081

Default roles is already defined on base configuration.