Skip to content
This repository was archived by the owner on Oct 10, 2025. It is now read-only.

Commit 946a3cc

Browse files
committed
fix: add direct attestation to .request
1 parent 03da5a7 commit 946a3cc

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/lib/webauthn.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -469,6 +469,7 @@ export const DEFAULT_REQUEST_OPTIONS: Partial<PublicKeyCredentialRequestOptionsF
469469
/** set to preferred because older yubikeys don't have PIN/Biometric */
470470
userVerification: 'preferred',
471471
hints: ['security-key'],
472+
attestation: 'direct',
472473
}
473474

474475
function deepMerge<T>(...sources: Partial<T>[]): T {

0 commit comments

Comments
 (0)