Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Comments

Close side panel

fix: add basic auth for plugin client#9987

Open
Slone123c wants to merge 1 commit intoanomalyco:devanomalyco/opencode:devfrom
Slone123c:fix/plugin-basic-authSlone123c/opencode:fix/plugin-basic-authCopy head branch name to clipboard
Open

fix: add basic auth for plugin client#9987
Slone123c wants to merge 1 commit intoanomalyco:devanomalyco/opencode:devfrom
Slone123c:fix/plugin-basic-authSlone123c/opencode:fix/plugin-basic-authCopy head branch name to clipboard

Conversation

@Slone123c
Copy link
Contributor

What does this PR do?

  • Add Basic Auth injection to the plugin client fetch when OPENCODE_SERVER_PASSWORD is set.
  • Fix 401 Unauthorized errors for plugin-driven API calls (e.g., delegate_task/call_omo_agent) against a password-protected local server.

How did you verify your code works?

  • Tested on local test cases.

@github-actions
Copy link
Contributor

Thanks for your contribution!

This PR doesn't have a linked issue. All PRs must reference an existing issue.

Please:

  1. Open an issue describing the bug/feature (if one doesn't exist)
  2. Add Fixes #<number> or Closes #<number> to this PR description

See CONTRIBUTING.md for details.

@github-actions
Copy link
Contributor

The following comment was made by an LLM, it may be inaccurate:

Based on my search, I found one potentially related PR:

Related PR:

The other result (#6629) appears to be unrelated telemetry instrumentation work.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant

Morty Proxy This is a proxified and sanitized view of the page, visit original site.