convert the user handle to an arrayBuffer

because of format errors in case of given handle (usually concerns platform authenticators only)
This commit is contained in:
Daniel Seifert 2023-02-14 16:27:29 +01:00
parent 462bb34447
commit 291c99e4e5
Signed by: DanielS
GPG Key ID: 8A7C4C6ED1915C6F

View File

@ -179,7 +179,7 @@ const requestCredentials = (publicKey) => {
response: {
authenticatorData: base64ArrayBuffer(authenticateInfo.response.authenticatorData),
signature: base64ArrayBuffer(authenticateInfo.response.signature),
userHandle: authenticateInfo.response.userHandle,
userHandle: base64ArrayBuffer(authenticateInfo.response.userHandle),
clientDataJSON: base64ArrayBuffer(authenticateInfo.response.clientDataJSON)
},
type: authenticateInfo.type