Closed maduvena closed 2 years ago
Enrollment
Fido2 Server - Steps for attestation:
Client side - Enabling Apple Anonymous Attestation on Browser:
const options = {
publicKey: {
rp: { name: "example.com" },
user: {
name: "john.appleseed@example.com",
id: userIdBuffer,
displayName: "John Appleseed"
},
pubKeyCredParams: [ { type: "public-key", alg: -7 } ],
challenge: challengeBuffer,
authenticatorSelection: { authenticatorAttachment: "platform" } // indicates the builtin authenticator TouchID
}
};
const publicKeyCredential = await navigator.credentials.create(options);
Authenticate using the built-in biometric authenticators in an Apple device.
References -