Set preferred options so that yubikey works.

This commit is contained in:
Hendrik Belitz
2026-02-16 10:43:40 +01:00
parent 7fddfc721c
commit 3538d282ff
+5
View File
@@ -114,6 +114,11 @@ export const getCredentialOptions = ({
pubKeyCredParams: [
{ alg: -7, type: "public-key" }, // ES256
],
authenticatorSelection: {
authenticatorAttachment: undefined, // Allow any authenticator (platform or cross-platform)
residentKey: "preferred",
userVerification: "preferred",
},
},
};