-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
RBAC: Support Gitlab teams #3249
Comments
Hi, currently we do not support gitlab for RBAC. |
@Haarolean Is there any progress on RBAC with Gitlab? Similar to @EI-Joao, we are able to login with Gitlab SSO, but RBAC would definitely help us. |
@varkey with our current bandwidth we have planned support for LDAP & generic oauth providers for the current release. It may work with gitlab as a generic provider, otherwise, it'll be a separate task in future releases. |
Hello @IIPOCTAK , 2024-05-02 09:02:02,176 DEBUG [reactor-http-epoll-4] c.p.k.u.s.r.e.OauthAuthorityExtractor: Assigning role [admin] to user [Alexander Boger] Did you find the solution for this problem? with kind regards Alexander Boger |
Hello @Alexander-ac. Unfortunately, I haven't found proper solution to fix white screen yet. Right now we are using basic auth to login in kafka-ui, but I hope that problem above will be noticed by developers and will be fixed in the future release. Kind regards. |
But that is extremely strange. I configured the whole thing with Azure (oauth). Honestly, I can't imagine that it isn't already supported. Does basic authentication also support RBAC? |
Please note this repo is not maintained (#4255). Happy to address your issues here: https://github.com/kafbat/kafka-ui |
@IIPOCTAK Yesterday I experimented with Keycloak and WebUI locally on my computer. I built the whole thing using Docker and simulated it without using reverse proxy. And look, it works! So I strongly suspect that the cause of the problem is the reverse proxy settings. |
I think I have now found the real reason for the problem. If I remove the SERVER_SERVLET_CONTEXT_PATH variable, the forwarding works properly. And the WEB-UI interface appears. |
Created an issue here @Alexander-ac Yes, we use ingress nginx as reverse proxy for kafka-ui. Unfortunately, I didn't use SERVER_SERVLET_CONTEXT_PATH in configuration, when I tried to use the variable in the configuration - problem still appears.
No, It doesn't. |
Me and @Haarolean no longer support this repo, don't you mind to post this to https://github.com/kafbat/kafka-ui |
Hi, I am trying to make kafka-ui available for an entire organization. For now I was able to integrate the authentication with GitLab, but when it comes to RBAC I can not find the config. Is it supported?
Config I am using for the authentication:
auth:
type: OAUTH2
oauth2:
client:
gitlab:
provider: gitlab
clientId: redacted
authorizationGrantType: authorization_code
clientSecret: redacted
redirectUri: http://kafka-ui.com/login/oauth2/code/gitlab
scope:
- read_user
clientName: GitLab
authorizationUri: https://gitlab.com/oauth/authorize
tokenUri: https://gitlab.com/oauth/token
userInfoUri: https://gitlab.com/api/v3/user
jwkSetUri: https://gitlab.com/oauth/discovery/keys
userNameAttribute: username
customParams:
type: gitlab
Config I am trying for RBAC:
rbac:
roles:
- name: "admin"
clusters:
- dev
subjects:
- provider: oauth_gitlab
type: user
value: "user1"
- provider: oauth_gitlab
type: user
value: "user2"
permissions:
- resource: clusterconfig
actions: all
- resource: topic
value: "."
actions: all
- resource: consumer
value: "."
actions: all
- resource: connect
value: ".*"
actions: all
The text was updated successfully, but these errors were encountered: