-
Notifications
You must be signed in to change notification settings - Fork 229
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
OIDC authentication is not handled gracefully in headlamp #2242
Comments
Thank you @O5ten . We will look into this as we do want to support this use-case. |
Hmm... so it seems to me like we need to lookout for OIDC configuration in the Kubeconfig file. If it is indeed present, we would need to adopt a different logical flow. Here is what I see:
But I see many areas where we need deeper discussions. Maybe a design proposal is in order? @joaquimrocha |
For what it's worth on the competition analysis side. The fact that the browser opens every once in awhile as lens refreshes its token is among the most annoying things with it. If i keep it on it has opened multiple windows for me during demos and other situations. If there is a way to perform this in the background then that would be absolutely magical. It's even worse when you have multiple clusters to worry about. |
Not entirely sure about the security side of things. But technically, we should be able to store the OIDC credentials and handle the authentication behind the scenes. |
Just to clarify, are you using Headlamp from outside the cluster? asking because it does seem like there is some documentation of the expected behavior for in-cluster setups: https://headlamp.dev/docs/latest/installation/in-cluster/oidc/ |
I'm trying to use headlamp as a desktop app. Haven't attempted to use it in-cluster yet as we have many clusters. |
@O5ten can you please confirm which version of Headlamp are you using? We do have this issue fixed in the latest version. Can you also confirm you are using signin option as your authentication method? Thanks |
Hello, I face the same issue. I am using desktop app version 0.28.1. I have multiple clusters, some using oidc others not. When I launch the app I have a browser page to authent me (keycloak) but once I want to connect to the cluster I get this popup: Authentication on kubeconfig is working well on other tools so not the issue :) |
I'm having trouble connecting to a cluster that has oidc configured as authentication method. Competing products (openlens) is opening a browser window to (re)authenticate to the cluster when needed. headlamp is just asking me for a service account token.
This is a sample of my .kube/config
The text was updated successfully, but these errors were encountered: