Skip to content

Commit

Permalink
fix: yubi key auth on chrome (dfinity#300)
Browse files Browse the repository at this point in the history
* Be less specific about authentication methods

* Keep attestation option
  • Loading branch information
Marco Segreto authored Mar 16, 2021
1 parent 2c50183 commit ae7be45
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions packages/authentication/src/identity/webauthn.ts
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,6 @@ async function _createCredential(): Promise<PublicKeyCredential | null> {
const creds = (await navigator.credentials.create({
publicKey: {
authenticatorSelection: {
authenticatorAttachment: "platform",
userVerification: 'preferred',
},
attestation: 'direct',
Expand Down Expand Up @@ -186,7 +185,6 @@ export class WebAuthnIdentity extends SignIdentity {
{
type: 'public-key',
id: this._rawId,
transports: ['internal'],
},
],
challenge: blob,
Expand Down

0 comments on commit ae7be45

Please sign in to comment.