Skip to content

make api keys optional#85

Merged
SearchSavior merged 1 commit intomainfrom
2.0.5-optional_api_key
Apr 15, 2026
Merged

make api keys optional#85
SearchSavior merged 1 commit intomainfrom
2.0.5-optional_api_key

Conversation

@SearchSavior
Copy link
Copy Markdown
Owner

@SearchSavior SearchSavior commented Apr 15, 2026

Authentication is now opt-in rather than required.

Docs updated

Behavior

openarc serve start # server starts with no authentication. All clients connect freely.
openarc serve start --use-api-key # server requires a valid Bearer token on all requests matching OPENARC_API_KEY.

All the CLI commands are confirmed working without OPENARC_API_KEY set.

There are also clear error messages for all cases; if you set --use-api-key but haven't configured OPENARC_API_KEY, the server won't start. Also added logging on startup.

Motivation:

I was trying to get Obsidian Copilot working but ran into some issues with authentication, and decided to make it optional instead of forking copilot. In the end I think I selected the wrong option in obsidian (lol).

Anyway, most other inference engines don't have this issue so in way we are overdue. OpenArc needs to just work everywhere.

Relevant to #75

@SearchSavior SearchSavior changed the title - update API key requirements. make api keys optional to support more integrations Apr 15, 2026
@SearchSavior SearchSavior changed the title make api keys optional to support more integrations make api keys optional Apr 15, 2026
@SearchSavior SearchSavior merged commit a607ebc into main Apr 15, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant