[PR #4740] feat(sdk): basic auth in opencode sdk, with relative url support #11093

Open
opened 2026-02-16 18:15:53 -05:00 by yindo · 0 comments
Owner

Original Pull Request: https://github.com/anomalyco/opencode/pull/4740

State: open
Merged: No


Usecase: I have an opencode server running in a secure environment, and I want to expose it via tunnel. Currently, everything is public by default. With this, I add basic auth to the tunnel, then can connect via opencode attach "https://user:password@myopencode.mydomain.com".


Fixes #4697 issues

fixes #5256

**Original Pull Request:** https://github.com/anomalyco/opencode/pull/4740 **State:** open **Merged:** No --- Usecase: I have an opencode server running in a secure environment, and I want to expose it via tunnel. Currently, everything is public by default. With this, I add basic auth to the tunnel, then can connect via opencode attach "https://user:password@myopencode.mydomain.com". --- Fixes #4697 issues fixes #5256
yindo added the pull-request label 2026-02-16 18:15:53 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: anomalyco/opencode#11093