{
challenge: 'IMpu7X3u1icaawtEF8Oae55febJbABXG0P9tPY8bc_U',
rp: {
name: 'Example Corp',
id: 'localhost',
},
user: {
id: 'AAAAAgAAAACrywvje',
name: 'Test 64',
displayName: 'Final64',
},
pubKeyCredParams: [
{ alg: -8, type: 'public-key' }, // EdDSA
],
authenticatorSelection: {
authenticatorAttachment: 'cross-platform',
userVerification: 'required',
},
timeout: 60000,
attestation: 'direct',
}
in response I am always getting -7 algo public key
{
challenge: 'IMpu7X3u1icaawtEF8Oae55febJbABXG0P9tPY8bc_U',
rp: {
name: 'Example Corp',
id: 'localhost',
},
user: {
id: 'AAAAAgAAAACrywvje',
name: 'Test 64',
displayName: 'Final64',
},
pubKeyCredParams: [
{ alg: -8, type: 'public-key' }, // EdDSA
],
authenticatorSelection: {
authenticatorAttachment: 'cross-platform',
userVerification: 'required',
},
timeout: 60000,
attestation: 'direct',
}