Enhance Cross-Device support and documentation for Passkey Registration
Some checks failed
Code Analysis (JS/Vue) / analyze (push) Failing after 53s

Update the CROSS_DEVICE_PROBLEM_ZUSAMMENFASSUNG.md to clarify the role of tunnel servers in the Cross-Device authentication process and outline troubleshooting steps. Additionally, enhance the registrieren.vue component with detailed information about the FIDO Cross-Device flow, including QR-Code format, connection requirements, and potential issues. Improve the register-passkey-options API documentation to reflect the use of tunnel servers, ensuring better understanding and support for Cross-Device functionality.
This commit is contained in:
Torsten Schulz (local)
2026-01-09 08:04:50 +01:00
parent 04e4d2385d
commit ea4c86f6b4
3 changed files with 84 additions and 8 deletions

View File

@@ -105,6 +105,18 @@ export default defineEventHandler(async (event) => {
},
// Timeout erhöhen für Cross-Device (Standard: 60s, hier: 5 Minuten)
timeout: 300000
// HINWEIS: FIDO Cross-Device verwendet Tunnel-Server (z.B. cable.ua5v.com von Google)
// Der Browser verwaltet den Tunnel automatisch - der Server muss nichts konfigurieren
// Für Cross-Device funktioniert es so:
// 1. Desktop-Browser generiert QR-Code mit öffentlichem Schlüssel (FIDO-URI)
// 2. Desktop-Browser registriert sich beim Tunnel-Server (cable.ua5v.com)
// 3. Smartphone scannt QR-Code
// 4. Smartphone verbindet sich über Tunnel-Server mit Desktop-Browser
// 5. Desktop-Browser leitet Credential-Response an den Server weiter
// Voraussetzungen:
// - Beide Geräte müssen Internetverbindung haben
// - Tunnel-Server müssen erreichbar sein (cable.ua5v.com, cable.auth.com)
// - Bluetooth kann für physische Nähe-Bestätigung verwendet werden (abhängig vom Browser/Gerät)
})
const optionsDuration = Date.now() - optionsStart