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

+3 -1
View File
@@ -6,7 +6,9 @@ HF_TOKEN=
MAX_CONCURRENT_DOWNLOADS=1
UPDATE_CHECK_INTERVAL_HOURS=12
# Login. AUTH_URL is the address you open Kaname at; register
# Login (optional). Leave OIDC_* empty (or at these placeholders) to run without any login:
# then anyone who can reach Kaname can use it. To require an OIDC login, set all three.
# AUTH_URL is the address you open Kaname at; register
# <AUTH_URL>/api/auth/callback/pocket-id as redirect URI with your OIDC provider.
# AUTH_SECRET: any random string (openssl rand -base64 32); empty = generated on first start.
AUTH_SECRET=