Uploaded image for project: 'Tools (JBoss Tools)'
  1. Tools (JBoss Tools)
  2. JBIDE-21354

Connection wizard: trying to login with expired token causes 2nd, nested connection dialog

    XMLWordPrintable

Details

    • Hide
      1. ASSERT: have connection with stored token ("Save token (could trigger secure storage login)"
      2. ASSERT: have oc binary available in cmd line
      3. EXEC: using oc in cmd line, login with the very same token that you're using in Eclipse (oc login --token=XXXX) and logout (this will expire your token)
      4. EXEC: in Servers view context menu: New > Server
      5. ASSERT: connection dialog shows up
      6. EXEC: pick your connection (with the stored token) and hit Next

      Result:
      a 2nd, nested connection dialog shows up.

      The very same can be achieved by using an invalid token. A 2nd dialog pops up.

      Show
      ASSERT: have connection with stored token ("Save token (could trigger secure storage login)" ASSERT: have oc binary available in cmd line EXEC: using oc in cmd line, login with the very same token that you're using in Eclipse (oc login --token=XXXX) and logout (this will expire your token) EXEC: in Servers view context menu: New > Server ASSERT: connection dialog shows up EXEC: pick your connection (with the stored token) and hit Next Result: a 2nd, nested connection dialog shows up. The very same can be achieved by using an invalid token. A 2nd dialog pops up.
    • Workaround Exists
    • Hide

      Hit "Finish" in the nested dialog (which closes it), hit retrieve and get a new token, paste it in the parent dialog and hit "Next" there. Login will succeed but loading the resources will fail. Now start the wizard again and it'll work.

      Show
      Hit "Finish" in the nested dialog (which closes it), hit retrieve and get a new token, paste it in the parent dialog and hit "Next" there. Login will succeed but loading the resources will fail. Now start the wizard again and it'll work.

    Attachments

      Issue Links

        Activity

          People

            adietish@redhat.com André Dietisheim
            adietish@redhat.com André Dietisheim
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: