-
- Notifications
You must be signed in to change notification settings - Fork 192
Description
Issue submitter TODO list
- I've looked up my issue in FAQ
- I've searched for an already existing issues here
- I've tried running
main-labeled docker image and the issue still persists there - I'm running a supported version of the application which is listed here
Describe the bug (actual behavior)
We have configured OAuth 2.0 on kafka-ui, interactive user login works correctly, but I am trying to implement authentication for our server to call API in an unattended way (service to service), and I am trying to use bearer token authentication, I am able to obtain client_credentials from our oauth server, but when I use this as a bearer token Authorization header for Kafka-ui, it redirects me to oauth login screen instead of returning the api content:

Is there some other way how to programatically gain access to API with oauth enabled?
Expected behavior
Service would be granted access when providing bearer token from OAuth.
Your installation details
10d4a11
11/12/2024, 14:20:31
Steps to reproduce
Sent request with this parameter to OAuth provider:

Use clientid and Secret as authentication for this request
Get access_token as a response:

Use this Access token as describe in the description
Kafka-ui redirects me to login screen instead of giving me access.
Screenshots
No response
Logs
No response
Additional context
No response