a431b87f1f
Local auth stays the primary/always-available login (don't want to lock out the saved admin password) — OIDC is additive, shown as a second button when OIDC_ENABLED=true. Uses openid-client v6 with PKCE. Authentik-side provider was set up via an authentik blueprint (its own declarative automation, see docs/oidc-setup.md) rather than touching any existing admin credentials. Closes #12. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
34 lines
805 B
JSON
34 lines
805 B
JSON
{
|
|
"name": "@homelab-monitor/api",
|
|
"version": "0.1.0",
|
|
"private": true,
|
|
"type": "module",
|
|
"scripts": {
|
|
"dev": "tsx watch src/index.ts",
|
|
"build": "tsc -p tsconfig.json",
|
|
"start": "node dist/index.js",
|
|
"typecheck": "tsc --noEmit"
|
|
},
|
|
"dependencies": {
|
|
"@fastify/cookie": "^11.0.2",
|
|
"@fastify/session": "^11.1.0",
|
|
"@fastify/static": "^8.1.1",
|
|
"bcryptjs": "^2.4.3",
|
|
"better-sqlite3": "^11.9.1",
|
|
"dotenv": "^16.4.7",
|
|
"fastify": "^5.2.1",
|
|
"openid-client": "^6.8.4",
|
|
"ssh2": "^1.16.0",
|
|
"undici": "^7.3.0",
|
|
"yaml": "^2.7.0"
|
|
},
|
|
"devDependencies": {
|
|
"@types/bcryptjs": "^2.4.6",
|
|
"@types/better-sqlite3": "^7.6.12",
|
|
"@types/node": "^22.13.5",
|
|
"@types/ssh2": "^1.15.1",
|
|
"tsx": "^4.19.3",
|
|
"typescript": "^5.7.3"
|
|
}
|
|
}
|