Uploaded image for project: 'Red Hat OpenShift Dev Spaces (formerly CodeReady Workspaces) '
  1. Red Hat OpenShift Dev Spaces (formerly CodeReady Workspaces)
  2. CRW-3928

Workspace restart does not refresh expired GitLab OAuth token

XMLWordPrintable

    • False
    • None
    • False
    • Hide

      `stop` and `start` refreshes the token (`restart` does not)

      Show
      `stop` and `start` refreshes the token (`restart` does not)

      Description of problem:

      Prerequisites (if any, like setup, operators/versions):

      Steps to Reproduce

      1. Configure GitLab Oauth as per the documentation.
        1. CheCluster CR:
      gitServices:
        gitlab:
        - endpoint: 'customer private gitlab server'
           secretName: secret-name
      1. Open a workspace with private GitLab repo
      2. Git push - to make sure token works
      3. Wait 2hrs+
      4. Git push - git push fails
      5. Workspace restart
      6. Git Push still fails

      We checked personal-access-token secret inside user's namespace and its value stays the same between restarts.

      Actual results:

      Expired Token does NOT get refreshed after Workspace restart

      Expected results:

      Expired Token DOES GET refreshed after Workspace restart

      Reproducibility (Always/Intermittent/Only Once):

      always

      Build Details:

      Dev Spaces 3.4

      DevWorkspace 0.18.1

      Additional info (Such as Logs, Screenshots, etc):

              vsvydenk Valerii Svydenko
              rhn-support-agiertli Anton Giertli
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

                Created:
                Updated:
                Resolved: