kafka-ui icon indicating copy to clipboard operation
kafka-ui copied to clipboard

BE: Introduce simpler ways to obtain session cookie for OAuth2

Open Thiagosnts opened this issue 1 year ago • 1 comments

Issue submitter TODO list

  • [X] I've searched for an already existing issues here
  • [X] I'm running a supported version of the application which is listed here and the feature is not present there

Is your proposal related to a problem?

No

Describe the feature you're interested in

There is an alternative way to authenticate API calls(kafka ui) that work simultaneously with OAuth2. Today, considering that you are using OAuth2, it is not possible to make a fully programmatic call as you need to interact with the browser to generate the cookie necessary to authenticate the calls.

Describe alternatives you've considered

Adding an alternative way to authenticate API calls that work simultaneously with OAuth2, could be the option to generate "Api key" to make these calls, or a method so that it is possible to make calls to Kafka UI APIs using Oauth2 programmatically.

Version you're running

2956664 v1.0.0

Additional context

The idea is to be able to use data from the api that lists the health of the connectors to generate metrics on which ones are UP, route /api/clusters/Cloud/connectors for example.

Thiagosnts avatar Aug 28 '24 16:08 Thiagosnts

Hi Thiagosnts! 👋

Welcome, and thank you for opening your first issue in the repo!

Please wait for triaging by our maintainers.

As development is carried out in our spare time, you can support us by sponsoring our activities or even funding the development of specific issues. Sponsorship link

If you plan to raise a PR for this issue, please take a look at our contributing guide.

github-actions[bot] avatar Aug 28 '24 16:08 github-actions[bot]