-
Hi Team, I am in need to connect to api endpoint and get the same response that is shown on the GET consumer group information, I have basic authentication turned on. I tried to use post-man to connect to API endpoint, with basic auth username and password GET: {{baseurl}}/kafkaui/api/clusters/kafka/consumer-groups/connect-topic1 and it is redirecting it to LOGIN FORM page instead of returning the data for the request. I tried to check whats happening and it seems thats how SPRING boot is handing the auth for the kafkaui. Could you please let me know, if its possible to access API endpoints without going through FORM_LOGIN. I came across below think, which seems to handle both API and FORM_LOGIN. Any help is much appreciated. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 2 replies
-
Hi, upon sending the following request:
Set this cookie for the future requests. |
Beta Was this translation helpful? Give feedback.
Hi,
upon sending the following request:
curl -i 'http://localhost:8080/auth' --data-raw 'username=admin&password=admin'
you get this response with a cookie:
Set this cookie for the future requests.