Skip to content

Commit 9a77570

Browse files
authored
Fix attestationObj camelCase (#576)
1 parent 94f6071 commit 9a77570

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

Demo/wwwroot/js/custom.register.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -124,7 +124,7 @@ async function registerNewCredential(newCredential) {
124124
type: newCredential.type,
125125
extensions: newCredential.getClientExtensionResults(),
126126
response: {
127-
AttestationObject: coerceToBase64Url(attestationObject),
127+
attestationObject: coerceToBase64Url(attestationObject),
128128
clientDataJSON: coerceToBase64Url(clientDataJSON),
129129
transports: newCredential.response.getTransports()
130130
},

Demo/wwwroot/js/mfa.register.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -129,7 +129,7 @@ async function registerNewCredential(newCredential) {
129129
type: newCredential.type,
130130
extensions: newCredential.getClientExtensionResults(),
131131
response: {
132-
AttestationObject: coerceToBase64Url(attestationObject),
132+
attestationObject: coerceToBase64Url(attestationObject),
133133
clientDataJSON: coerceToBase64Url(clientDataJSON),
134134
transports: newCredential.response.getTransports()
135135
}

Demo/wwwroot/js/passwordless.register.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -126,7 +126,7 @@ async function registerNewCredential(newCredential) {
126126
type: newCredential.type,
127127
extensions: newCredential.getClientExtensionResults(),
128128
response: {
129-
AttestationObject: coerceToBase64Url(attestationObject),
129+
attestationObject: coerceToBase64Url(attestationObject),
130130
clientDataJSON: coerceToBase64Url(clientDataJSON),
131131
transports: newCredential.response.getTransports()
132132
}

0 commit comments

Comments
 (0)