Is your feature request related to a problem? Please describe.
I have several remote Ollama hosts exposed via Cloudflared tunnels. The endpoints are protected, but accept service authentication for API invocation. These are configured as custom headers on the call, but there is no way to add them via the UI.
Describe the solution you'd like
Add additional headers config experience for Ollama endpoints.
Describe alternatives you've considered
Not much to consider. I can invoke via API, but remote Ollama with security can't be configured in Open WebUI.
Additional context
Add any other context or screenshots about the feature request here.
Here's the code snippet which takes care of authentication.
Originally created by @aperepel on GitHub (Feb 10, 2025).
Original GitHub issue: https://github.com/open-webui/open-webui/issues/9731
# Feature Request
**Is your feature request related to a problem? Please describe.**
I have several remote Ollama hosts exposed via Cloudflared tunnels. The endpoints are protected, but accept service authentication for API invocation. These are configured as custom headers on the call, but there is no way to add them via the UI.
**Describe the solution you'd like**
Add additional headers config experience for Ollama endpoints.
**Describe alternatives you've considered**
Not much to consider. I can invoke via API, but remote Ollama with security can't be configured in Open WebUI.
**Additional context**
Add any other context or screenshots about the feature request here.
Here's the code snippet which takes care of authentication.
```python
client = ollama.Client(
host=OLLAMA_HOST,
headers={
"CF-Access-Client-Id": "some_client_id_long_value.access",
"CF-Access-Client-Secret": userdata.get('OLLAMA_REMOTE_TOKEN'),
},
)
```
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
Originally created by @aperepel on GitHub (Feb 10, 2025).
Original GitHub issue: https://github.com/open-webui/open-webui/issues/9731
Feature Request
Is your feature request related to a problem? Please describe.
I have several remote Ollama hosts exposed via Cloudflared tunnels. The endpoints are protected, but accept service authentication for API invocation. These are configured as custom headers on the call, but there is no way to add them via the UI.
Describe the solution you'd like
Add additional headers config experience for Ollama endpoints.
Describe alternatives you've considered
Not much to consider. I can invoke via API, but remote Ollama with security can't be configured in Open WebUI.
Additional context
Add any other context or screenshots about the feature request here.
Here's the code snippet which takes care of authentication.