diff --git a/app/javascript/packages/webauthn/verify-webauthn-device.spec.ts b/app/javascript/packages/webauthn/verify-webauthn-device.spec.ts index a8cd451edf1..01a33ed2338 100644 --- a/app/javascript/packages/webauthn/verify-webauthn-device.spec.ts +++ b/app/javascript/packages/webauthn/verify-webauthn-device.spec.ts @@ -46,6 +46,7 @@ describe('verifyWebauthnDevice', () => { transports: ['internal', 'hybrid'], }, ], + userVerification: 'discouraged', timeout: 800000, }, }; diff --git a/app/javascript/packages/webauthn/verify-webauthn-device.ts b/app/javascript/packages/webauthn/verify-webauthn-device.ts index ee39c201621..8afa3092fb8 100644 --- a/app/javascript/packages/webauthn/verify-webauthn-device.ts +++ b/app/javascript/packages/webauthn/verify-webauthn-device.ts @@ -39,6 +39,7 @@ async function verifyWebauthnDevice({ challenge: new Uint8Array(JSON.parse(userChallenge)), rpId: window.location.hostname, allowCredentials: credentials.map(mapVerifyCredential), + userVerification: 'discouraged', timeout: 800000, }, })) as PublicKeyCredential;