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

It's not possible to log into Dev Spaces after adding incorrect BitBucket Server personal access token

XMLWordPrintable

    • False
    • Hide

      None

      Show
      None
    • False
    • Workaround Exists
    • Hide

      Remove "personal-access-token" secret and "git-credentials-secret" from the user OCP namespace.

      Show
      Remove " personal-access-token " secret and " git-credentials-secret " from the user OCP namespace.

      Description of problem:

      It's not possible to log into Dev Spaces after adding incorrect BitBucket Server personal access token.

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

      Steps to Reproduce

      1. Go to workspaces.openshift.com
      2. Open Dev Spaces Dashboard
      3. Go to "Dashboard > User Preferences > Personal Access Tokens" page
      4. Try to add incorrect personal access token for Bitbucket Server
      5. Reload Dev Spaces page

      Actual results:

      Error page with "Backend is not available. Try to refresh the page or re-login to the Dashboard." message displayed, and "Sign in" button were redirecting to those error page again.

      There was 500 error return from https://devspaces.apps.sandbox-m4.g2pi.p1.openshiftapps.com/api/kubernetes/namespace/provision

      Screencast: devsandbox_3.9.1_bitbucket_serwer_CRW-5291.webm

      Expected results:

      It's possible to log into Dev Spaces

      Reproducibility (Always/Intermittent/Only Once):

      Always

      Acceptance criteria: 

       

      Definition of Done:

      Build Details:

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

      There was no problem with log into Dev Spaces after trying to add incorrect personal access token for other supported Git providers:

      • github.com
      • gitlab.com
      • Azure Devops
         

         *

              abazko Anatolii Bazko
              dnochevn Dmytro Nochevnov
              Dmytro Nochevnov Dmytro Nochevnov
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: