Skip to content

docs: oc login --web on hosted control planes via public paths - #131

Open
thomasvvugt wants to merge 1 commit into
projectcapsule:mainfrom
thomasvvugt:docs/hypershift-oc-web-login
Open

docs: oc login --web on hosted control planes via public paths#131
thomasvvugt wants to merge 1 commit into
projectcapsule:mainfrom
thomasvvugt:docs/hypershift-oc-web-login

Conversation

@thomasvvugt

Copy link
Copy Markdown

Adds a section on oc login --web through Capsule Proxy to the OpenShift setup page, focused on hosted control planes (HyperShift), where each hosted cluster runs its own OAuth server with its own root CA.

oc login --web fetches /.well-known/oauth-authorization-server from the API endpoint before any credentials exist; Capsule Proxy rejects unauthenticated requests by default, so the login aborts with unsupported protocol scheme "". The --public-paths option added in projectcapsule/capsule-proxy#1098 (released in v0.14.1) proxies such paths to the upstream API server without authentication and fixes this.

Also softens the RFE-7592 limitation note: with public paths configured, browser-based login works against the proxy directly and the copied console command no longer needs the --server workaround.

Validated against a HyperShift-hosted cluster: anonymous discovery returns the cluster OAuth metadata, authenticated traffic is unaffected, and trusted-source restrictions still apply to public paths.

Document the public-paths option that makes browser-based
oc login work through Capsule Proxy on hosted control planes
(HyperShift), where each hosted cluster runs its own OAuth server
with its own root CA. Soften the RFE-7592 limitation note now that
the web login flow works against the proxy.

Signed-off-by: Thomas van Vugt <thomas.vugt@rvig.nl>
@netlify

netlify Bot commented Aug 28, 2026

Copy link
Copy Markdown

Deploy Preview for docs-projectcapsule ready!

Name Link
🔨 Latest commit ef40139
🔍 Latest deploy log https://app.netlify.com/projects/docs-projectcapsule/deploys/6a917c041864a50008eac1c3
😎 Deploy Preview https://deploy-preview-131--docs-projectcapsule.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

@sandert-k8s sandert-k8s left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

Thanks Thomas! 😁

@sandert-k8s sandert-k8s left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

Can you check the linter? It fails on the hyperlink.

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