diff options
author | Matthew Miller <matthew@millerti.me> | 2023-12-28 19:38:39 -0800 |
---|---|---|
committer | Matthew Miller <matthew@millerti.me> | 2023-12-28 19:38:39 -0800 |
commit | cdc97ac30a5ac3e3f5e57e792cc70a82aae48af4 (patch) | |
tree | bcc9e1eee3eff225ae5ec60202167330183b69be /example/index.ts | |
parent | 5229cebbcc2d087b7eaaaeb9886f53c9e1d93522 (diff) |
Prefer UV but be okay without it
Diffstat (limited to 'example/index.ts')
-rw-r--r-- | example/index.ts | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/example/index.ts b/example/index.ts index 4b4179a..c748145 100644 --- a/example/index.ts +++ b/example/index.ts @@ -143,6 +143,7 @@ app.get('/generate-registration-options', async (req, res) => { })), authenticatorSelection: { residentKey: 'discouraged', + userVerification: 'preferred', }, /** * Support the two most common algorithms: ES256, and RS256 @@ -175,7 +176,7 @@ app.post('/verify-registration', async (req, res) => { expectedChallenge: `${expectedChallenge}`, expectedOrigin, expectedRPID: rpID, - requireUserVerification: true, + requireUserVerification: false, }; verification = await verifyRegistrationResponse(opts); } catch (error) { |