You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When using kubelogin 1.32.1 with Keycloak, Kubectl commands fail with the following error message:
ubuntu@jdudley:~/monorepo/deployment/kubespray$ kubectl version
Please visit the following URL in your browser: http://localhost:8000
error: get-token: could not write the token cache: keyring write kubelogin/tokencache/29e99118b938ba4ac8471f5e0857485037307f1cfb7f0d69d5f67ff8b0104312: failed to unlock correct collection '/org/freedesktop/secrets/aliases/default'
Client Version: v1.31.5
Kustomize Version: v5.4.2
Unable to connect to the server: getting credentials: exec: executable kubectl failed with exit code 1
Downgrading to kubelogin 1.28.0 fixes this issue (other versions not tried).
I've experienced the exact same behaviour when trying to log in to clusters.
OS: Ubuntu 24.04.1 LTS (with WSL)
oidc-login: 1.32.1
kubectl: 1.32.1
OIDC: Keycloak 25
I've tried downgrading to several earlier versions and it seems to work up to 1.32.0. (I tested 1.28.2, 1.30.1 and 1.31.1)
UPDATE 31/01/2025 - new release 1.32.2 seems to correct the issue
Describe the issue
When using kubelogin 1.32.1 with Keycloak, Kubectl commands fail with the following error message:
Downgrading to kubelogin 1.28.0 fixes this issue (other versions not tried).
Kube config
Your environment
The text was updated successfully, but these errors were encountered: