mirror of
https://github.com/allaunthefox/SilverSight.git
synced 2026-07-31 01:25:21 +00:00
- OIDC provider config inserted into Homarr SQLite database (serverSetting key=authentication, provider=Authentik) - Authentik redirect URIs expanded to include researchstack.info - Homarr login page now shows OIDC option alongside credentials - setup/check scripts committed for future maintenance Access Homarr at https://researchstack.info/ with OIDC login
11 lines
454 B
Python
11 lines
454 B
Python
#!/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()
|