mirror of
https://github.com/open-webui/open-webui.git
synced 2026-05-06 10:58:17 -05:00
[GH-ISSUE #12391] issue: Call to tool server does not pass API token #16579
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @tremlin on GitHub (Apr 3, 2025).
Original GitHub issue: https://github.com/open-webui/open-webui/issues/12391
Check Existing Issues
Installation Method
Git Clone
Open WebUI Version
v0.6.0
Ollama Version (if applicable)
No response
Operating System
Ubuntu 20.04
Browser (if applicable)
No response
Confirmation
README.md.Expected Behavior
When executing a tool on an OpenAPI tool server via POST request, the configured authorization token should be passed in the HTTP header.
Actual Behavior
The authorization HTTP header is missing when making the POST request.
The authorization header is included when saving the tool server configuration and initially fetching the
openapi.jsonspec, but it is missing from all other calls.Steps to Reproduce
Logs & Screenshots
Additional Information
The cause seems to be that
keyis missing from the information inba77a72925/src/lib/apis/index.ts (L318)Adding
key: server?.key,solves the issue for me:@rgaricano commented on GitHub (Apr 3, 2025):
It would be usefull to have it also noted in https://github.com/open-webui/mcpo/issues
@tjbck commented on GitHub (Apr 3, 2025):
Addressed in dev.