diff --git a/Demo/wwwroot/js/custom.register.js b/Demo/wwwroot/js/custom.register.js index c2e35ae4..e0199423 100644 --- a/Demo/wwwroot/js/custom.register.js +++ b/Demo/wwwroot/js/custom.register.js @@ -124,7 +124,7 @@ async function registerNewCredential(newCredential) { type: newCredential.type, extensions: newCredential.getClientExtensionResults(), response: { - AttestationObject: coerceToBase64Url(attestationObject), + attestationObject: coerceToBase64Url(attestationObject), clientDataJSON: coerceToBase64Url(clientDataJSON), transports: newCredential.response.getTransports() }, diff --git a/Demo/wwwroot/js/mfa.register.js b/Demo/wwwroot/js/mfa.register.js index 382cbe32..463aa5ae 100644 --- a/Demo/wwwroot/js/mfa.register.js +++ b/Demo/wwwroot/js/mfa.register.js @@ -129,7 +129,7 @@ async function registerNewCredential(newCredential) { type: newCredential.type, extensions: newCredential.getClientExtensionResults(), response: { - AttestationObject: coerceToBase64Url(attestationObject), + attestationObject: coerceToBase64Url(attestationObject), clientDataJSON: coerceToBase64Url(clientDataJSON), transports: newCredential.response.getTransports() } diff --git a/Demo/wwwroot/js/passwordless.register.js b/Demo/wwwroot/js/passwordless.register.js index d6b515ce..b287bc4b 100644 --- a/Demo/wwwroot/js/passwordless.register.js +++ b/Demo/wwwroot/js/passwordless.register.js @@ -126,7 +126,7 @@ async function registerNewCredential(newCredential) { type: newCredential.type, extensions: newCredential.getClientExtensionResults(), response: { - AttestationObject: coerceToBase64Url(attestationObject), + attestationObject: coerceToBase64Url(attestationObject), clientDataJSON: coerceToBase64Url(clientDataJSON), transports: newCredential.response.getTransports() }