Skip to content

Commit

Permalink
chore(pcd/webauthn-pcd): temporarily enables any credential
Browse files Browse the repository at this point in the history
With the previous `allowCredentials`, it wouldn't find my 1Password credential.
  • Loading branch information
arthurgousset committed Dec 11, 2024
1 parent c0e9059 commit 47398f3
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions packages/pcd/webauthn-pcd/src/WebAuthnPCDPackage.ts
Original file line number Diff line number Diff line change
Expand Up @@ -21,10 +21,10 @@ export async function prove(args: WebAuthnPCDArgs): Promise<WebAuthnPCD> {
rpID: args.rpID,
challenge: args.challenge,
allowCredentials: [
{
id: args.authenticator.credentialID,
type: "public-key"
}
// {
// id: args.authenticator.credentialID,
// type: "public-key"
// }
]
});
const authenticationResponseJSON = await startAuthentication(
Expand Down

0 comments on commit 47398f3

Please sign in to comment.