Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

OAuth 2.0 service authentication #4500

Open
4 tasks done
fanfuvac opened this issue Nov 8, 2024 · 1 comment
Open
4 tasks done

OAuth 2.0 service authentication #4500

fanfuvac opened this issue Nov 8, 2024 · 1 comment
Labels
status/triage Issues pending maintainers triage type/bug Something isn't working

Comments

@fanfuvac
Copy link

fanfuvac commented Nov 8, 2024

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 master-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, user login works correctly, but I am trying to implement authentication for our server to call API in an unattended way, 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:
image

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

Version: 83b5a60 v0.7.2

Steps to reproduce

Sent request with this parameter to OAuth provider:
image
Use clientid and Secret as authentication for this request
Get access_token as a response:
image
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

@fanfuvac fanfuvac added status/triage Issues pending maintainers triage type/bug Something isn't working labels Nov 8, 2024
Copy link

github-actions bot commented Nov 8, 2024

Hello there fanfuvac! 👋

Thank you and congratulations 🎉 for opening your very first issue in this project! 💖

In case you want to claim this issue, please comment down below! We will try to get back to you as soon as we can. 👀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
status/triage Issues pending maintainers triage type/bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant