provectus / kafka-ui

Open-Source Web UI for Apache Kafka Management

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Topic creation/ produce message not working with Login Method

garvit-cosmofeed opened this issue Β· comments

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 master-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)

I have a kafka UI deployed as a docker image on AWS ECS. I have set up authentication with login form but I am not able to create topics or produce messages. I get a Invalid CSRF Token response while trying to do so. I have checked other issues but they got fixed by changing the env variable from ath.type to AUTH_TYPE although that didn't work for me.

Expected behavior

No response

Your installation details

I am using the latest docker image with the following env variables:
"environment": [
{
"name": "KAFKA_CLUSTERS_0_NAME",
"value": "local"
},
{
"name": "KAFKA_CLUSTERS_0_PROPERTIES_SECURITY_PROTOCOL",
"value": "SASL_SSL"
},
{
"name": "SPRING_SECURITY_USER_PASSWORD",
"value": "XXXX"
},
{
"name": "KAFKA_CLUSTERS_0_PROPERTIES_SASL_CLIENT_CALLBACK_HANDLER_CLASS",
"value": "software.amazon.msk.auth.iam.IAMClientCallbackHandler"
},
{
"name": "KAFKA_CLUSTERS_0_PROPERTIES_SASL_JAAS_CONFIG",
"value": "software.amazon.msk.auth.iam.IAMLoginModule required;"
},
{
"name": "SPRING_SECURITY_USER_NAME",
"value": "admin"
},
{
"name": "KAFKA_CLUSTERS_0_PROPERTIES_SASL_MECHANISM",
"value": "AWS_MSK_IAM"
},
{
"name": "AUTH_TYPE",
"value": "LOGIN_FORM"
},
{
"name": "KAFKA_CLUSTERS_0_BOOTSTRAPSERVERS",
"value": "b-3.XXXXX"
}
],

Steps to reproduce

Run a docker image with the above env vars

Screenshots

No response

Logs

No response

Additional context

No response

Hello there garvit-cosmofeed! πŸ‘‹

Thank you and congratulations πŸŽ‰ for opening your very first issue in this project! πŸ’–

In case you want to claim this issue, please comment down below! We will try to get back to you as soon as we can. πŸ‘€

Somebody pls help