Skip to content

Delegate bl apps auth to Roxy for the Blox-configured control-plane URL - #15

Merged
stuartwdouglas merged 1 commit into
block:mainfrom
stuartwdouglas:apps-blox-mesh-proxy-auth
Oct 9, 2026
Merged

stuartwdouglas merged 1 commit into
block:mainfrom
stuartwdouglas:apps-blox-mesh-proxy-auth

Conversation

@stuartwdouglas

@stuartwdouglas stuartwdouglas commented Oct 9, 2026 •

Copy link
Copy Markdown
Contributor

On a BuilderLab Blox workstation (IS_BLOX=true with a BLOX_WORKSTATION_ID), Blox sets BL_APPS_CONTROL_PLANE_URL. Requests to that origin are trusted and sent without credentials; Roxy injects a short-lived Compose JWT from KGoose for the workstation owner. No hosts are hardcoded in the CLI.

  • ComposeSessionCredential becomes an enum with a Proxy variant that sends no Authorization header and skips local session lookup.
  • Org configuration is not required when the Blox-configured origin is in use.
  • Any other URL, including an explicit --base-url outside that origin, still must be an approved HTTPS ingress and requires bl auth login.
  • Process tests cover bl apps list against the configured origin with no local config/credentials (no auth headers sent), and rejection of URLs outside that origin.
  • README documents the Blox behaviour.

@stuartwdouglas
stuartwdouglas requested a review from a team as a code owner October 9, 2026 00:37
Comment thread README.md Outdated
For inherited Apps Platform trace context and failure correlation, see
[Apps operation correlation](docs/apps-operation-correlation.md).

On a BuilderLab Blox workstation, `bl apps` uses the operator-supplied

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

not sure we want these design details here?

@stuartwdouglas stuartwdouglas changed the title Delegate bl apps auth to Roxy for the Compose mesh endpoint on Blox Delegate bl apps auth to Roxy for the Blox-configured control-plane URL Oct 9, 2026
@stuartwdouglas
stuartwdouglas force-pushed the apps-blox-mesh-proxy-auth branch from 132d772 to 731b55b Compare October 9, 2026 01:23
@stuartwdouglas
stuartwdouglas merged commit 2a1499f into block:main Oct 9, 2026
4 checks passed
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