Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Topic creation/ produce message not working with Login Method #4379

Open
4 tasks done
garvit-cosmofeed opened this issue Feb 10, 2024 · 3 comments
Open
4 tasks done
Labels
status/triage Issues pending maintainers triage type/bug Something isn't working

Comments

@garvit-cosmofeed
Copy link

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

@garvit-cosmofeed garvit-cosmofeed added status/triage Issues pending maintainers triage type/bug Something isn't working labels Feb 10, 2024
Copy link

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. 👀

@garvit-cosmofeed
Copy link
Author

Somebody pls help

@garvit-cosmofeed
Copy link
Author

@liudaac @

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
status/triage Issues pending maintainers triage type/bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant