kafbat/kafka-ui

BE: Introduce simpler ways to obtain session cookie for OAuth2

Open

#532 opened on Aug 28, 2024

 (2 comments) (0 reactions) (0 assignees)TypeScript (363 forks)auto 404
area/authgood first issuehacktoberfestscope/backendstatus/triage/completedtype/enhancement

Repository metrics

Stars
 (2,554 stars)
PR merge metrics
 (PR metrics pending)

Description

Issue submitter TODO list

  • I've searched for an already existing issues here
  • 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.

Contributor guide