feat: Passwordless cross-device authentication

- Arkitektur: docs/auth/passwordless-architecture.md
- Backend: iom/quixzoom-auth-service/ (FastAPI + Redis)
- Webb: quixzoom-market-pages/se/login/ (QR-kod + polling)
- App: iom/quixzoom-app/src/features/auth/ (push + deep links)

Flöde: QR-kod → app-godkännande → webb-inloggad
This commit is contained in:
Bernt
2026-07-07 07:11:50 +00:00
parent 4aa984ad74
commit 6989a98d75
61843 changed files with 5491611 additions and 872231 deletions
+6
View File
@@ -0,0 +1,6 @@
NODE_ENV=development
PORT=3250
DATABASE_URL=postgresql://postgres:quixzo…2026@localhost:5432/amos?sslmode=disable
AMOS_JWT_SECRET=dev-secret-for-bernt-only-2026-aamos-ledger-long-secret
LEDGER_INTERNAL_TOKEN=bernt-internal-token-2026
CORS_ORIGIN=*
+1 -1
View File
@@ -42,7 +42,7 @@ try {
// ── Database ─────────────────────────────────────────────────────────────────
const pool = new Pool({
connectionString: process.env.DATABASE_URL,
ssl: { rejectUnauthorized: false },
ssl: false,
max: 10,
idleTimeoutMillis: 30000,
});
+2
View File
@@ -0,0 +1,2 @@
[auth] Konfiguration OK (HS256)
[aamos-ledger] Startup misslyckades: The server does not support SSL connections