Request PRF evaluation salt during WebAuthn registration to enable passwordless logins
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user