Skip to content

Conversation

@vrubezhny
Copy link
Collaborator

…he Gateway plugin

This POC PR adds a possibility to authorize on...

  • ...an OpenShift cluster via OpenShift OAuth Authenticator
  • ...a Sandbox provisioned cluster via RedHat SSO Authenticator
image

POC Demo:

Openshift-Authentication-POC.mp4

@codecov-commenter
Copy link

codecov-commenter commented Jan 20, 2026

Codecov Report

❌ Patch coverage is 0% with 854 lines in your changes missing coverage. Please review.
✅ Project coverage is 18.21%. Comparing base (71098f6) to head (54a861b).
⚠️ Report is 285 commits behind head on main.

Files with missing lines Patch % Lines
...ools/gateway/view/steps/DevSpacesServerStepView.kt 0.00% 231 Missing ⚠️
...evtools/gateway/auth/code/OpenShiftAuthCodeFlow.kt 0.00% 149 Missing ⚠️
...ateway/auth/session/OpenShiftAuthSessionManager.kt 0.00% 78 Missing ⚠️
...s/gateway/auth/session/RedHatAuthSessionManager.kt 0.00% 69 Missing ⚠️
...t/devtools/gateway/auth/code/RedHatAuthCodeFlow.kt 0.00% 67 Missing ⚠️
...gateway/auth/sandbox/SandboxClusterAuthProvider.kt 0.00% 51 Missing ⚠️
...evtools/gateway/auth/server/OAuthCallbackServer.kt 0.00% 32 Missing ⚠️
...redhat/devtools/gateway/auth/sandbox/SandboxApi.kt 0.00% 29 Missing ⚠️
.../redhat/devtools/gateway/auth/code/AuthCodeFlow.kt 0.00% 21 Missing ⚠️
...hat/devtools/gateway/auth/sandbox/SandboxModels.kt 0.00% 20 Missing ⚠️
... and 13 more
Additional details and impacted files
@@            Coverage Diff             @@
##            main     #247       +/-   ##
==========================================
+ Coverage   0.00%   18.21%   +18.21%     
==========================================
  Files          4       61       +57     
  Lines         26     2893     +2867     
  Branches       0      533      +533     
==========================================
+ Hits           0      527      +527     
- Misses        26     2292     +2266     
- Partials       0       74       +74     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@vrubezhny vrubezhny force-pushed the feaat-sso-auth branch 2 times, most recently from 198f7c1 to 0efefa4 Compare January 21, 2026 01:42
…he Gateway plugin

This PR adds a possibility to authorize on...

- ...an OpenShift cluster via OpenShift OAuth Authenticator
- ...a Sandbox provisioned cluster via RedHat SSO Authenticator

Signed-off-by: Victor Rubezhny <[email protected]>
Assisted-by: OpenAI ChatGPT
…he Gateway plugin

This PR adds a possibility to authorize on...

- ...an OpenShift cluster via Username/Password

Signed-off-by: Victor Rubezhny <[email protected]>
Assisted-by: OpenAI ChatGPT
@vrubezhny
Copy link
Collaborator Author

A few changes made to the Authentication and Select Cluster Wizard:

  • Auth via Username/password was added
  • Radio buttons changed to Tabs to make it more compact
  • The resulting token gets saved to Kube config not only for Auth via token, but also when authenticating via OpenshiftAuth or via Username/Password, if user checked the "Save config" option
  • Token and Password fields are ****-masked by default now, a checkboxes were added to the according Tabs to make these fields turn visible, if user checked the "Show token/password" option

Here's a POC demo for Auth via Username/Password onto a local CRC cluster (+DevSpaces installed):

Username-Password-Authentication-POC.mp4

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.

2 participants