Run without login when OIDC isn't configured

With OIDC_ISSUER, OIDC_CLIENT_ID and OIDC_CLIENT_SECRET empty (or at the
.env.example placeholders) Kaname needs no login. With all three set, OIDC
works as before; only some set is an error. /api/v1 still requires tokens.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
Pascal LinxweilerandClaude Opus 5.5 committed 2026-11-11 22:18:47 +01:00
1 parent 1fe61142f4
commit a13ac85f7c
14 files changed
+116 -41

No files matched your search

+1 -1
View File
@@ -5,7 +5,7 @@ downloads and follow them, verify and repair models, and tag them. Everything a
bounded by [guardrails](#guardrails). No token can delete models or files, update a model to
another commit, change settings, manage tokens, or touch jobs it didn't request.
The rest of Kaname (the web UI and its internal `/api/*` routes) stays behind your OIDC login. Only
The rest of Kaname (the web UI and its internal `/api/*` routes) stays behind your OIDC login (or is open, if you run Kaname without login). Only
`/api/v1` accepts tokens, and it accepts *only* tokens: a browser session doesn't work there.
For agents there's a ready-made skill: [docs/agent/SKILL.md](agent/SKILL.md). Give it to the agent