kafbat/kafka-ui

BE: Introduce simpler ways to obtain session cookie for OAuth2

オープン

#532 opened on 2024/08/28

 (2 件のコメント) (0 件のリアクション) (0 人の担当者)TypeScript (363 件のフォーク)auto 404
area/authgood first issuehacktoberfestscope/backendstatus/triage/completedtype/enhancement

Repository metrics

Stars
 (2,554 個のスター)
PR merge metrics
 (PR metrics pending)

説明

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.

コントリビューターガイド