docs: oc login --web on hosted control planes via public paths - #131
Open
thomasvvugt wants to merge 1 commit into
Open
docs: oc login --web on hosted control planes via public paths#131thomasvvugt wants to merge 1 commit into
thomasvvugt wants to merge 1 commit into
Conversation
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>
✅ Deploy Preview for docs-projectcapsule ready!
To edit notification comments on pull requests, go to your Netlify project configuration. |
sandert-k8s
requested changes
Aug 28, 2026
sandert-k8s
left a comment
Collaborator
There was a problem hiding this comment.
Can you check the linter? It fails on the hyperlink.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Adds a section on
oc login --webthrough 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 --webfetches/.well-known/oauth-authorization-serverfrom the API endpoint before any credentials exist; Capsule Proxy rejects unauthenticated requests by default, so the login aborts withunsupported protocol scheme "". The--public-pathsoption 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
--serverworkaround.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.