Skip to content

Commit

Permalink
Fix attestationObj camelCase (#576)
Browse files Browse the repository at this point in the history
abergs authored Nov 12, 2024
1 parent 94f6071 commit 9a77570
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion Demo/wwwroot/js/custom.register.js
Original file line number Diff line number Diff line change
@@ -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()
},
2 changes: 1 addition & 1 deletion Demo/wwwroot/js/mfa.register.js
Original file line number Diff line number Diff line change
@@ -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()
}
2 changes: 1 addition & 1 deletion Demo/wwwroot/js/passwordless.register.js
Original file line number Diff line number Diff line change
@@ -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()
}

0 comments on commit 9a77570

Please sign in to comment.