-
Notifications
You must be signed in to change notification settings - Fork 4.2k
Open
Labels
Description
Currently, when using AddOllamaChatCompletion
, the endpoint does not support Basic Authorization headers.
This makes integration more restrictive, since many environments and reverse proxies (e.g., API gateways, internal services, or hosted Ollama instances) often rely on Basic Auth for authentication.
Feature Request:
Please add support for Basic Authorization in the AddOllamaChatCompletion
endpoint. This would allow developers to:
- Connect to Ollama instances that are behind Basic Auth protection.
- Use existing API gateways and security standards without workarounds.
- Improve compatibility with enterprise environments where Basic Auth is the default.
Why this is important:
- In some corporate setups, Ollama runs behind proxies that enforce Basic Auth instead of Bearer tokens.
- Without this support, developers must implement custom handlers or bypass security requirements.
- Adding Basic Auth support would make AddOllamaChatCompletion more flexible and widely usable.