Open Le1ns opened 8 months ago
cc/ @yolossn
Hey @Le1ns The response that you see in Network tab means that the GKE Kubernetes API server isn't able to parse the user/group from the token that is provided by Keycloak. Can you use any tool like jwt.io to check if the token has the required user related fields in it.
Trying to connect headlamp with GKE cluster with oidc by keycloak. I have GKE cluster with oidc auth:
By kubectl - all is ok. I deployed headlamp with the same oidc settings:
After login as le1ns@example.com - i see error in devtools - 401 and error in console: DevTools:
Console:
And if i try to switch to storage or nodes or network bar - i got auth screen: use token or sign in I have correct RBAC with user prefix oidc-user:le1ns@example.com as cluster-admin - i tested by kubectl
So, i have the same error by using kubernetes-dashboard If u can, would be nice if u ll make guid for GKE or helped to solve problem with payload If need, i can say my env in keycloak or gke