redhat-developer / intellij-openshift-connector

IntelliJ OpenShift Toolkit
https://plugins.jetbrains.com/plugin/12030-openshift-toolkit-by-red-hat/
Eclipse Public License 2.0
16 stars 23 forks source link

As a user I'd like to be able to refresh my sandbox token #914

Open adietish opened 2 months ago

adietish commented 2 months ago

Steps:

  1. ASSERT: have RH sandbox as current cluster
  2. ASSERT: have an outdated token that needs refreshing
  3. EXEC: launch plugin
  4. ASSERT: you cannot list resources, you're told to refresh the token.

Result: You have to get into your browser, login into the sandbox and copy the login command. You can then paste the login command into the dialog that you get via the "Log in to Cluster"

Expected: The tooling should open the browser for me, let me log in, parse the token and use it.

ps. vscode offers this and we had this in JBoss Tools

adietish commented 2 months ago

Here are the relevant classes in vscode: