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

+7
View File
@@ -11,6 +11,13 @@ written straight into `compose.yaml` (`./data`, `./models`, `3000`). `KANAME_DAT
`KANAME_MODELS_DIR`, `WEB_PORT` and `KANAME_IMAGE` are gone; if you set them, put those values into
`compose.yaml` instead. `KANAME_VERSION`, `PUID` and `PGID` still work.
### Added
- **Running without login:** leave `OIDC_ISSUER`, `OIDC_CLIENT_ID` and `OIDC_CLIENT_SECRET` empty
(or at the `.env.example` placeholders) and Kaname needs no login; anyone who can reach it can use
it. With all three set, OIDC login works as before. Only some of them set is an error on start.
`/api/v1` still requires API tokens either way.
### Changed
- Simpler `deploy/compose.yaml` (no YAML anchors or variables) and a short `.env.example`.