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
+9 -9
View File
@@ -14,22 +14,22 @@ body { font-family: -apple-system, BlinkMacSystemFont, 'Inter', sans-serif; back
.nav a { color: #666; text-decoration: none; padding: 12px 20px; font-size: 0.85rem; transition: all 0.2s; border-bottom: 2px solid transparent; }
.nav a:hover, .nav a.active { color: #00d4ff; border-bottom-color: #00d4ff; }
.main { padding: 40px; max-width: 1400px; margin: 0 auto; }
.hero { text-align: center; padding: 60px 20px; background: linear-gradient(180deg, #0a0a0a 0%, #1a1a2e 100%); border-radius: 16px; margin-bottom: 40px; }
.hero { text-align: center; padding: 60px 20px; background: linear-gradient(180deg, #0a0a0a 0%, #1a1a2e 100%); border-radius: var(--radius-lg); margin-bottom: 40px; }
.hero h2 { font-size: 2rem; margin-bottom: 16px; background: linear-gradient(90deg, #00d4ff, #7c3aed); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }
.hero p { font-size: 1rem; color: #aaa; max-width: 800px; margin: 0 auto; }
.pillars { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 20px; margin-bottom: 40px; }
.pillar { background: #111; border: 1px solid #333; border-radius: 12px; padding: 24px; }
.pillar { background: #111; border: 1px solid #333; border-radius: var(--radius-md); padding: 24px; }
.pillar-number { font-size: 0.75rem; color: #00d4ff; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 8px; }
.pillar h3 { font-size: 1.1rem; margin-bottom: 12px; }
.pillar p { color: #888; font-size: 0.85rem; margin-bottom: 12px; }
.pillar-features { list-style: none; }
.pillar-features li { color: #aaa; font-size: 0.8rem; padding: 4px 0; padding-left: 16px; position: relative; }
.pillar-features li::before { content: "→"; position: absolute; left: 0; color: #00d4ff; }
.product-def { background: #111; border: 1px solid #333; border-radius: 12px; padding: 32px; margin-bottom: 40px; text-align: center; }
.product-def { background: #111; border: 1px solid #333; border-radius: var(--radius-md); padding: 32px; margin-bottom: 40px; text-align: center; }
.product-def h2 { font-size: 1.5rem; margin-bottom: 16px; color: #00d4ff; }
.product-def p { font-size: 1.1rem; color: #aaa; max-width: 700px; margin: 0 auto; line-height: 1.8; }
.stats { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 16px; margin-bottom: 40px; }
.stat { background: #111; border: 1px solid #333; border-radius: 8px; padding: 16px; text-align: center; }
.stat { background: #111; border: 1px solid #333; border-radius: var(--radius-md); padding: 16px; text-align: center; }
.stat-value { font-size: 1.5rem; font-weight: 700; color: #00d4ff; }
.stat-label { font-size: 0.75rem; color: #666; margin-top: 4px; }
</style>
@@ -85,7 +85,7 @@ body { font-family: -apple-system, BlinkMacSystemFont, 'Inter', sans-serif; back
<div class="pillars" id="pillars">
<div class="pillar">
<div class="pillar-number">Pillar 1</div>
<h3>🔐 Trust Layer</h3>
<h3><svg width="16" height="16" viewBox="0 0 16 16" fill="none"><rect x="3" y="7" width="10" height="7" rx="1" stroke="#666" stroke-width="1.5"/><path d="M5 7V5C5 3.3 6.3 2 8 2C9.7 2 11 3.3 11 5V7" stroke="#666" stroke-width="1.5"/><circle cx="8" cy="10.5" r="1" fill="#666"/></svg> Trust Layer</h3>
<p>Varje insikt ska kunna besvara tillitsfrågor</p>
<ul class="pillar-features">
<li>Vilka källor ligger bakom?</li>
@@ -98,7 +98,7 @@ body { font-family: -apple-system, BlinkMacSystemFont, 'Inter', sans-serif; back
<div class="pillar">
<div class="pillar-number">Pillar 2</div>
<h3>📋 Governance Layer</h3>
<h3><svg width="16" height="16" viewBox="0 0 16 16" fill="none"><rect x="3" y="2" width="10" height="12" rx="1" stroke="#666" stroke-width="1.5"/><path d="M6 5H10M6 8H10M6 11H8" stroke="#666" stroke-width="1.5" stroke-linecap="round"/></svg> Governance Layer</h3>
<p>Tydliga regler för modeller, data och beslut</p>
<ul class="pillar-features">
<li>Versionshantering av AI-modeller</li>
@@ -111,7 +111,7 @@ body { font-family: -apple-system, BlinkMacSystemFont, 'Inter', sans-serif; back
<div class="pillar">
<div class="pillar-number">Pillar 3</div>
<h3>🔮 Simulation Layer</h3>
<h3> Simulation Layer</h3>
<p>Simulera scenarier, inte bara beskriva nuläge</p>
<ul class="pillar-features">
<li>Vad händer om en väg stängs?</li>
@@ -124,7 +124,7 @@ body { font-family: -apple-system, BlinkMacSystemFont, 'Inter', sans-serif; back
<div class="pillar">
<div class="pillar-number">Pillar 4</div>
<h3>👥 Collaboration Layer</h3>
<h3> Collaboration Layer</h3>
<p>Flera aktörer arbetar i samma informationsmodell</p>
<ul class="pillar-features">
<li>Kommentera observationer</li>
@@ -137,7 +137,7 @@ body { font-family: -apple-system, BlinkMacSystemFont, 'Inter', sans-serif; back
<div class="pillar">
<div class="pillar-number">Pillar 5</div>
<h3>🔌 Reality API</h3>
<h3> Reality API</h3>
<p>Semantiskt API för domänorienterad åtkomst</p>
<ul class="pillar-features">
<li>/objects - Fysiska objekt</li>