diff --git a/resources/js/webauthn.js b/resources/js/webauthn.js index 3775af6..409421a 100644 --- a/resources/js/webauthn.js +++ b/resources/js/webauthn.js @@ -315,6 +315,7 @@ class WebAuthn { const publicKeyCredential = this.#parseOutgoingCredentials(credentials); Object.assign(publicKeyCredential, response); + Object.assign(publicKeyCredential, request); return await this.#fetch(publicKeyCredential, this.#routes.register).then(WebAuthn.#handleResponse); }