Skip to content

Commit 9bbe322

Browse files
committed
since we are using second-factor only (not passwordless), userVerification should not be used. Otherwise, Windows 10 Pro will unhelpfully require to set a PIN during registration.
1 parent 4fc27e7 commit 9bbe322

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

www/assets/js/webauthn.js

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -78,6 +78,9 @@ var publicKeyCredentialCreationOptions = {
7878
displayName: frontendData['state']['FIDO2Displayname'],
7979
},
8080
pubKeyCredParams: [{alg: -7, type: 'public-key'}],
81+
authenticatorSelection: {
82+
userVerification: "discouraged"
83+
},
8184
timeout: 60000,
8285
attestation: frontendData['attestation'],
8386
}

0 commit comments

Comments
 (0)