Resident Key is done

This commit is contained in:
Mohamed El-Kalioby
2022-10-16 18:59:46 +03:00
parent 25be381ca9
commit 0ddef51eaa
11 changed files with 152 additions and 84 deletions

View File

@@ -12,7 +12,7 @@
}
throw new Error('Error getting registration data!');
}).then(CBOR.decode).then(function(options) {
options.publicKey.attestation="direct"
//options.publicKey.attestation="direct"
console.log(options)
return navigator.credentials.create(options);