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

Use sandbox proxyURL with idToken to work with sandbox cluster #503

Open jeffmaury opened 1 year ago

jeffmaury commented 1 year ago

[kind/Enhancement]

Which functionality do you think we should update/improve?

Sandbox getSignupStatus request to signup service returns proxyURL among other attributes for sandbox instance. Extension should use this proxy with idToken retrieved with Red Hat Authentication extension to communicate with Sandbox instance.

Why is this needed?

Red Hat Developer Sandbox login workflow would be greatly simplified

See https://github.com/redhat-developer/vscode-openshift-tools/issues/2519

sbouchet commented 1 year ago

Reopened and reverted PR #504 because of two regressions :

  1. idToken lives 900 seconds and then have to be refreshed in kubeconfig
  2. odo dev cannot sync files through the new proxy url