Skip to content

Can't create topic when Basic Authentication is enable #2263

@pravin-raha

Description

@pravin-raha

Describe the bug
Can't create topic when Basic Authentication is enable

Set up
My docker compose file

version: '2'
services:
  kafka-ui:
    image: provectuslabs/kafka-ui
    container_name: kafka-ui
    ports:
      - "8080:8080"
    restart: always
    environment:
      - KAFKA_CLUSTERS_0_NAME=local
      - KAFKA_CLUSTERS_0_BOOTSTRAPSERVERS=kafka:9092
      - KAFKA_CLUSTERS_0_ZOOKEEPER=localhost:2181
      - auth.type='LOGIN_FORM'
      - SPRING_SECURITY_USER_NAME=admin
      - SPRING_SECURITY_USER_PASSWORD=admin

Steps to Reproduce

  1. Enable basic authentication using above docker compose file
  2. Try to create kafka topic under topic tab

Expected behavior
Topic should be created

Screenshots
image

image

Additional context

Metadata

Metadata

Assignees

No one assigned

    Labels

    status/invalidThis doesn't seem righttype/questionAn issue with a question which could possibly be converted into a discussion

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions