kafbat/kafka-ui

BE: Introduce simpler ways to obtain session cookie for OAuth2

Aperta

#532 aperta il 28 ago 2024

 (2 commenti) (0 reazioni) (0 assegnatari)TypeScript (363 fork)auto 404
area/authgood first issuehacktoberfestscope/backendstatus/triage/completedtype/enhancement

Metriche repository

Star
 (2554 stelle)
Metriche merge PR
 (Metriche PR in attesa)

Descrizione

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.

Guida contributor