Skip to content

Commit

Permalink
Fix #555: FIDO2 Test Application: CredentialResponse debug message (#556
Browse files Browse the repository at this point in the history
)
  • Loading branch information
jnpsk authored Nov 20, 2024
1 parent 5198864 commit 63c59fc
Showing 1 changed file with 2 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,7 @@ async function createCredential(userDetails, applicationId) {
const credential = await navigator.credentials.create({
publicKey: options
});
console.log("Public Key Credential")
console.log(JSON.stringify(credential, null, 2));
console.log("Public Key Credential Created")

const registerResponse = await registerCredentials(userDetails.userId, applicationId, credential)
console.log("PowerAuth Registration Response")
Expand All @@ -31,8 +30,7 @@ async function requestCredential(userId, applicationId, templateName, operationP
publicKey: options
});

console.log("Public Key Credential")
console.log(JSON.stringify(credential, null, 2));
console.log("Public Key Credential Retrieved")

const authenticateResponse = await verifyAssertion(applicationId, options.challenge, credential)
console.log("PowerAuth Authentication Response")
Expand Down

0 comments on commit 63c59fc

Please sign in to comment.