Skip to content

Use proxyURL to log into sandbox using Red Hat auth token#2743

Closed
dgolovin wants to merge 1 commit intoredhat-developer:mainfrom
dgolovin:i2519-use-proxy-url-and-redhat-auth-token-for-sandbox-login
Closed

Use proxyURL to log into sandbox using Red Hat auth token#2743
dgolovin wants to merge 1 commit intoredhat-developer:mainfrom
dgolovin:i2519-use-proxy-url-and-redhat-auth-token-for-sandbox-login

Conversation

@dgolovin
Copy link
Copy Markdown
Collaborator

@dgolovin dgolovin commented Jan 18, 2023

Getting resources seems to work fine through the proxy, but there are two problems to solve:

  1. idToken lives 900 seconds and then have to be refreshed in kubeconfig (that probably affects live connections through the proxy that already exists at the moment when refresh happens)
  2. odo dev cannot sync files through the proxy

Fix #2519.

Signed-off-by: Denis Golovin dgolovin@redhat.com

Comment thread src/openshift/sandbox.ts Outdated
Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

new attribute in reg service response

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Login to the sandbox using proxyUrl and token from RedHat SSO. No need to get sandbox token from browser.

Fix redhat-developer#2519.

Signed-off-by: Denis Golovin dgolovin@redhat.com
@dgolovin dgolovin force-pushed the i2519-use-proxy-url-and-redhat-auth-token-for-sandbox-login branch from 3350909 to 88c5cf7 Compare March 23, 2023 21:53
@vrubezhny
Copy link
Copy Markdown
Contributor

Incorporated by #4439.

@vrubezhny vrubezhny closed this Sep 12, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Use sandbox proxyURL with idToken to work with sandbox cluster

2 participants