Skip to content

Delegate bl tools authentication to Roxy on Blox - #16

Merged
torstenrudolf merged 2 commits into
mainfrom
trudolf/bl-tools-blox-proxy-auth
Oct 13, 2026
Merged

torstenrudolf merged 2 commits into
mainfrom
trudolf/bl-tools-blox-proxy-auth

Conversation

@torstenrudolf

@torstenrudolf torstenrudolf commented Oct 12, 2026 •

Copy link
Copy Markdown
Contributor

bl tools linear fails with org_required on Blox without local BuilderLab configuration, even when Roxy can authenticate requests for the workstation owner.

On Blox (IS_BLOX=true and a nonempty BLOX_WORKSTATION_ID), use the operator-provided BL_TOOLS_BASE_URL as the default tools endpoint. Requests to that origin skip local organization routing and session lookup, send no local session or STS credentials, and use the direct backend's /cash-app/goose/ service path by default. Explicit service paths remain supported. Proxy requests do not follow redirects. Other origins and internal agent-tools retain their existing authentication behavior.

Use the Blox-configured BL_TOOLS_BASE_URL origin without local organization
configuration or session lookup. Omit local session and STS credentials in
proxy mode, preserve tools API routing, and refuse redirects.

Co-authored-by: Steve <e010611543c2fb824246457dab086b3bf8de013fcc516d0b35d88236fc254ae3@buzz.block.builderlab.xyz>
@torstenrudolf
torstenrudolf marked this pull request as ready for review October 12, 2026 05:22
@torstenrudolf
torstenrudolf requested a review from a team as a code owner October 12, 2026 05:22
@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Oct 12, 2026 •

Copy link
Copy Markdown

Codex Review Summary

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-10-12T05:32:04.742953Z 4b8817e New commits
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 776e81c8b8

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment thread src/lib.rs Outdated
Keep the backend service prefix in proxy mode because the public API rewrite is absent on direct mesh requests.

Co-authored-by: Steve <e010611543c2fb824246457dab086b3bf8de013fcc516d0b35d88236fc254ae3@buzz.block.builderlab.xyz>
@torstenrudolf
torstenrudolf merged commit 206e327 into main Oct 13, 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