Update Passkey Registration to comply with @simplewebauthn/browser v13+ API
Refactor the Passkey registration logic in multiple components to utilize the new API structure requiring { optionsJSON: options }. Enhance debug logging to validate options, including checks for user ID format and challenge type. This update aims to improve compliance with the latest library requirements and provide better insights during the registration process.
This commit is contained in:
@@ -384,7 +384,7 @@
|
||||
const credential = await navigator.credentials.create({
|
||||
publicKey: publicKeyCredentialCreationOptions
|
||||
});
|
||||
|
||||
dd
|
||||
const duration = Date.now() - startTime;
|
||||
|
||||
// Konvertiere Credential zu einem serialisierbaren Format
|
||||
|
||||
Reference in New Issue
Block a user