Compare commits

...

2 Commits

Author SHA1 Message Date
Benjamin S. Leveritt
f436731a40 Chore: Add changeset 2024-11-27 08:08:19 +00:00
bradstdev
51a1ef9382 Make passkeys discoverable
Reference: https://web.dev/articles/webauthn-discoverable-credentials

"To ensure your credentials are created as passkeys (discoverable credentials), specify residentKey and requireResidentKey when the credential is created."

Bitwarden (and possibly other password managers) won't find passkeys created on other devices unless they are discoverable.
2024-11-27 08:05:56 +00:00
2 changed files with 7 additions and 0 deletions

View File

@@ -0,0 +1,5 @@
---
"jazz-browser": patch
---
Set created passkey credentials as discoverable

View File

@@ -104,6 +104,8 @@ export class BrowserPasskeyAuth implements AuthMethod {
pubKeyCredParams: [{ alg: -7, type: "public-key" }],
authenticatorSelection: {
authenticatorAttachment: "platform",
requireResidentKey: true,
residentKey: "required",
},
timeout: 60000,
attestation: "direct",