Request PRF evaluation salt during WebAuthn registration to enable passwordless logins

This commit is contained in:
2026-05-28 21:46:29 +02:00
parent b62ca14cc1
commit ecdf8c2dc0
+5 -1
View File
@@ -70,7 +70,11 @@ export async function registerUser(username: string): Promise<RegistrationResult
if (!options.extensions) {
options.extensions = {}
}
options.extensions.prf = {}
options.extensions.prf = {
eval: {
first: PRF_SALT
}
}
// 2. Start biometric Passkey creation
const credentialResponse = await startRegistration(options)