webmeshproj / webmesh-vdi

A Kubernetes-native Virtual Desktop Infrastructure

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

changing ui tab, leads to logging out

umberto10 opened this issue · comments

Hi there,
I was using ubuntu template, then I changed tab to API, and starting from there all API request are code 403
image
and I cannot connect back to session:
image
I don't know where is the problem.
My config:

vdi:
  spec:
    appNamespace: k8s-kvdi
    app:
      serviceType: ClusterIP
      #corsEnabled: true
      resources:
        limits:
          cpu: "2000m"
          memory: "2G"
        requests:
          cpu: "1000m"
          memory: "1G"
    auth:
      tokenDuration: "8h"
      oidcAuth:
        preserveTokens: True
        #issuerURL: ""
        issuerURL: ""
        clientCredentialsSecret: ""
        #redirectURL: ""
        redirectURL: ""
        #scopes: [ "email", "profile", "groups" ]
        groupScope: kvdi-policy
        adminGroups: [ "admin-user" ]
        allowNonGroupedReadOnly: True

I think it's due to oidc token expiration

If it was due to the OIDC expiration that makes sense and is the expected behavior. The UI could have a cleaner approach to this happening, but I'll defer that to the redesign I have in mind. I've got someone who might be willing to help with it as well.