#!/usr/bin/env python3 """Check Homarr server settings for OIDC config.""" import sqlite3, json conn = sqlite3.connect("/home/allaun/.local/share/containers/storage/volumes/homarr-data/_data/db/db.sqlite") rows = conn.execute("SELECT setting_key, value FROM serverSetting").fetchall() print("All server settings:") for k, v in rows: val = json.loads(v) if v.startswith("{") else v print(f" {k}: {json.dumps(val, indent=4)[:200]}") conn.close()