Skip to content

Support for API_KEY based authentication #8536

@matthiasgeihs

Description

@matthiasgeihs

Would be great if Ollama server would support some basic level API_KEY-based authentication.

Use case: Chrome browser extensions cannot use ollama out of the box because of CORS restrictions. Ollama will reject requests from these origins (see also #3571). Would be great if ollama had API_KEY based authentication to solve this issue without requiring the user to manually start ollama with OLLAMA_ORIGINS.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions