Enhance Cross-Device registration debugging and API options
Some checks failed
Code Analysis (JS/Vue) / analyze (push) Failing after 47s
Some checks failed
Code Analysis (JS/Vue) / analyze (push) Failing after 47s
Update the registrieren.vue component to improve debug logging for Cross-Device registration, including checks for local authenticators and tunnel server connections. Add warnings for potential issues when Cross-Device is not used. Modify the register-passkey-options API to ensure compatibility with Cross-Device requirements by allowing both platform and cross-platform authenticators. This update aims to provide clearer insights and troubleshooting guidance during the Passkey registration process.
This commit is contained in:
@@ -101,7 +101,12 @@ export default defineEventHandler(async (event) => {
|
||||
attestationType: 'none',
|
||||
authenticatorSelection: {
|
||||
residentKey: 'preferred',
|
||||
userVerification: 'preferred'
|
||||
userVerification: 'preferred',
|
||||
// WICHTIG: Für Cross-Device sollte requireResidentKey false sein
|
||||
// und authenticatorAttachment nicht auf 'platform' beschränkt sein
|
||||
// (sonst wird nur lokaler Authenticator verwendet)
|
||||
requireResidentKey: false
|
||||
// authenticatorAttachment nicht setzen = erlaubt sowohl platform als auch cross-platform
|
||||
},
|
||||
// Timeout erhöhen für Cross-Device (Standard: 60s, hier: 5 Minuten)
|
||||
timeout: 300000
|
||||
|
||||
Reference in New Issue
Block a user