summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorMatthew Miller <matthew@millerti.me>2022-08-15 21:51:11 -0700
committerMatthew Miller <matthew@millerti.me>2022-08-15 21:51:11 -0700
commit24fb9e720233c46e9f24f4432ceec66a30719b88 (patch)
treec00fd3af158e723255943cb7c86999d06b91824b
parentfaeb7ef35bd20071d0882a26134a333ecb582551 (diff)
Enhance FIDO Conformance support in Example
-rw-r--r--example/fido-conformance.ts2
1 files changed, 2 insertions, 0 deletions
diff --git a/example/fido-conformance.ts b/example/fido-conformance.ts
index 3ccf6e8..8871e27 100644
--- a/example/fido-conformance.ts
+++ b/example/fido-conformance.ts
@@ -134,6 +134,7 @@ fidoConformanceRouter.post('/attestation/options', (req, res) => {
type: 'public-key',
transports: ['usb', 'ble', 'nfc', 'internal'],
})),
+ supportedAlgorithmIDs: [-7, -8, -36, -37, -38, -39, -257, -258, -259, -65535],
});
user.currentChallenge = opts.challenge;
@@ -257,6 +258,7 @@ fidoConformanceRouter.post('/assertion/result', (req, res) => {
expectedRPID: rpID,
authenticator: existingDevice,
requireUserVerification,
+ advancedFIDOConfig: { userVerification },
});
} catch (error) {
const _error = error as Error;