Skip to content

RBAC User Unbale to create Topic/New Cluster from Kafka UI #1584

@stalinbritto

Description

@stalinbritto

Issue submitter TODO list

  • I've looked up my issue in FAQ
  • I've searched for an already existing issues here
  • I've tried running main-labeled docker image and the issue still persists there
  • I'm running a supported version of the application which is listed here

Describe the bug (actual behavior)

Hi Team,
I am encountering the same error on my side.

I have created a docker-compose.yml file with two images: frontend and backend.

Frontend: Using Nginx to re-route traffic with SSL.

Backend: Kafka application enabled with OAuth configuration, using a .jks certificate along with key and URLs.

SSL is enabled, and I am able to see the cluster, configure a new cluster option, and view the option to create new topics.

Issue: When I try to add a new cluster or create a new topic, I receive a 403 error.

Image

Did I miss any configuration, or is there something additional that needs to be added?

Please suggest.

Config File:

docker-compose.yml

roles.yml

nginx-conf.yml

Expected behavior

No response

Your installation details

I have done the installation and using by docker compose.

Steps to reproduce

The docker compose file which i attached will give more info.

Screenshots

Provided error snap and log file here.

Logs

Logs:
`kafka-ui-proxy | - - [01/Dec/2025:13:44:38 +0000] "PUT /api/clusters/CLuster/brokers/0/configs/log.flush.interval.messages HTTP/1.1" 403 13 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/142.0.0.0 Safari/537.36"

kafka-ui-proxy | - - [01/Dec/2025:13:45:02 +0000] "POST /api/clusters/CLuster/topics HTTP/1.1" 403 13 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/141.0.0.0 Safari/537.36"

kafka-ui-proxy | - - [01/Dec/2025:13:45:03 +0000] "GET /api/clusters/CLuster/topics?page=1&perPage=25&showInternal=true HTTP/1.1" 200 25056 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/141.0.0.0 Safari/537.36"

kafka-ui-proxy | - - [01/Dec/2025:13:45:09 +0000] "DELETE /api/clusters/CLuster/topics/--test1 HTTP/1.1" 403 13 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/141.0.0.0 Safari/537.36"`

Additional context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions