Complete TB-006 batch 1 SSO so admin apps use Authentik without double login.
Deploy to valhalla / deploy (push) Has been cancelled

Native OAuth/OIDC for Homarr, BookStack, Gitea, and MinIO console; forward_auth with local auth disabled for code-server, uptime, and kopia; Caddy and Authentik scripts updated to match.
This commit is contained in:
ginnoir
2026-06-10 23:52:14 -05:00
parent 109cc0d5cb
commit 63889fc150
19 changed files with 424 additions and 94 deletions
@@ -0,0 +1,15 @@
"""Disable Uptime Kuma local auth (forward_auth is the gate)."""
import sqlite3
import sys
DB = sys.argv[1] if len(sys.argv) > 1 else "/config/uptime-kuma/kuma.db"
conn = sqlite3.connect(DB)
cur = conn.cursor()
cur.execute(
"INSERT INTO setting (key, value) VALUES ('disableAuth', '1') "
"ON CONFLICT(key) DO UPDATE SET value='1'"
)
conn.commit()
conn.close()
print(f"disableAuth=1 in {DB}")