kafbat/kafka-ui

BE: Introduce simpler ways to obtain session cookie for OAuth2

开放

#532 创建于 2024年8月28日

 (2 条评论) (0 个反应) (0 位负责人)TypeScript (363 个派生)auto 404
area/authgood first issuehacktoberfestscope/backendstatus/triage/completedtype/enhancement

仓库指标

星标
 (2,554 个星标)
PR 合并指标
 (PR 指标待抓取)

描述

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.

贡献者指南