Skip to content

feat(oidc): allow internal service transport - #195

Merged
aroff merged 1 commit into
mainfrom
feat/oidc-internal-discovery
Oct 21, 2026
Merged

aroff merged 1 commit into
mainfrom
feat/oidc-internal-discovery

Conversation

@aroff

@aroff aroff commented Oct 21, 2026

Copy link
Copy Markdown
Owner

Cluster services could keep a public OIDC issuer identity only by sending discovery and confidential token grants through public ingress. That prevented an exact in-cluster NetworkPolicy lane for services such as Rudaia Billing.

This adds explicit deployment-owned discovery and token transport endpoints to OidcClientBuilder and from_env. The discovery document must still declare the configured public issuer, unsafe HTTP endpoints remain rejected, and plain HTTP is limited to loopback or Kubernetes Service DNS names.

Validation:

  • cargo fmt --all -- --check
  • cargo test -p cli-framework-oidc --features client (84 tests passed)
  • cargo clippy -p cli-framework-oidc --features client --all-targets -- -D warnings

@aroff
aroff enabled auto-merge (squash) October 21, 2026 13:47
@aroff
aroff merged commit 90b9227 into main Oct 21, 2026
6 checks passed
@aroff
aroff deleted the feat/oidc-internal-discovery branch October 21, 2026 14:12
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.

1 participant